Skip to content

Commit

Permalink
use webpack5 in storybook
Browse files Browse the repository at this point in the history
gregberge/svgr#631 を解決するためにはwebpack5にあげれば良いとのこと
  • Loading branch information
MH4GF committed May 4, 2022
1 parent 8bb0424 commit b531182
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const path = require('path')

module.exports = {
core: {
builder: 'webpack5',
},
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
staticDirs: ['../public'],
addons: [
Expand Down

0 comments on commit b531182

Please sign in to comment.