Skip to content

Commit

Permalink
switching to vite for app and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Jun 28, 2022
1 parent 31e84df commit 92f1fb9
Show file tree
Hide file tree
Showing 4 changed files with 474 additions and 22 deletions.
2 changes: 1 addition & 1 deletion apps/reactapp-two/.storybook/main.js
Expand Up @@ -3,7 +3,7 @@ const rootMain = require('../../../.storybook/main');
module.exports = {
...rootMain,

core: { ...rootMain.core, builder: 'webpack5' },
core: { ...rootMain.core, builder: '@storybook/builder-vite' },

stories: [
...rootMain.stories,
Expand Down
2 changes: 1 addition & 1 deletion libs/reactlib/.storybook/main.js
Expand Up @@ -3,7 +3,7 @@ const rootMain = require('../../../.storybook/main');
module.exports = {
...rootMain,

core: { ...rootMain.core, builder: 'webpack5' },
core: { ...rootMain.core, builder: '@storybook/builder-vite' },

stories: [
...rootMain.stories,
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -31,6 +31,7 @@
"@nrwl/web": "14.3.6",
"@nrwl/workspace": "14.3.6",
"@storybook/addon-essentials": "~6.5.9",
"@storybook/builder-vite": "^0.1.37",
"@storybook/builder-webpack5": "~6.5.9",
"@storybook/core-server": "~6.5.9",
"@storybook/manager-webpack5": "~6.5.9",
Expand Down Expand Up @@ -64,6 +65,7 @@
"ts-jest": "27.1.4",
"ts-node": "~10.8.0",
"typescript": "~4.7.2",
"url-loader": "^3.0.0"
"url-loader": "^3.0.0",
"vite": "^2.9.13"
}
}

0 comments on commit 92f1fb9

Please sign in to comment.