Skip to content

Commit

Permalink
Use lazy compilation to improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiastykvart committed Oct 5, 2022
1 parent 18b9973 commit f53e282
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ module.exports = {
'storybook-mobile',
],
core: {
builder: 'webpack5',
builder: {
name: 'webpack5',
options: {
lazyCompilation: true,
fsCache: true,
},
},
},
typescript: {
check: true, // type-check stories during Storybook build
Expand Down

0 comments on commit f53e282

Please sign in to comment.