Skip to content

Commit

Permalink
feat(#354): update storybook to 6.4 (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Feb 18, 2022
1 parent 7915f30 commit 9eeb04d
Show file tree
Hide file tree
Showing 3 changed files with 593 additions and 838 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"dependencies": {
"@nuxt/devalue": "^2.0.0",
"@nuxt/postcss8": "^1.1.3",
"@storybook/addon-essentials": "~6.3.12",
"@storybook/addon-essentials": "~6.4.13",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/react-docgen-typescript-plugin": "^1.0.1",
"@storybook/vue": "~6.3.12",
"@storybook/vue": "~6.4.13",
"arg": "^5.0.1",
"consola": "^2.15.3",
"create-require": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function getWebpackConfig (config: webpack.Configuration, extras: Webpack
// replace entry point
const modules = config.plugins.find(p => p.constructor.name === 'VirtualModulesPlugin')._staticModules
Object.keys(modules).forEach((key) => {
modules[key] = modules[key].replace(/@storybook\/vue/g, '~~/.nuxt-storybook/storybook/entry')
modules[key] = modules[key].replace(/@storybook\/vue(?!\/)/g, '~~/.nuxt-storybook/storybook/entry')
})

config.plugins = [
Expand Down

0 comments on commit 9eeb04d

Please sign in to comment.