From b531182b980627c40c0f764517a84b29e5b1b594 Mon Sep 17 00:00:00 2001 From: MH4GF Date: Wed, 4 May 2022 23:07:35 +0900 Subject: [PATCH] use webpack5 in storybook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/gregberge/svgr/issues/631 を解決するためにはwebpack5にあげれば良いとのこと --- .storybook/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.storybook/main.js b/.storybook/main.js index bee164f4..984cbb90 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,6 +1,9 @@ const path = require('path') module.exports = { + core: { + builder: 'webpack5', + }, stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'], staticDirs: ['../public'], addons: [