Skip to content

Commit

Permalink
Attempt to speed up Storybook build
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Apr 6, 2021
1 parent 547e208 commit 5cdfef2
Show file tree
Hide file tree
Showing 3 changed files with 409 additions and 194 deletions.
8 changes: 8 additions & 0 deletions storybook/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
module.exports = {
addons: [
{
name: 'storybook-addon-turbo-build',
options: {
optimizationLevel: 3,
},
},
],
stories: ['../stories/**/*.stories.js'],
}
1 change: 1 addition & 0 deletions storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"babel-loader": "^8.2.2",
"chromatic": "^5.7.0",
"fs-extra": "^9.1.0",
"storybook-addon-turbo-build": "^1.0.0-beta.0",
"webpack": "^5.24.4"
}
}

0 comments on commit 5cdfef2

Please sign in to comment.