Switch storybook builds to Webpack 5

[MAILPOET-3826]
This commit is contained in:
Rostislav Wolny
2021-10-01 15:33:46 +02:00
committed by Veljko V
parent e93bef08f4
commit 97e1263451
3 changed files with 1851 additions and 23 deletions

View File

@@ -19,6 +19,9 @@ const updateEmotionAliases = (config) => ({
});
module.exports = {
core: {
builder: 'webpack5',
},
stories: ['../assets/js/src/**/_stories/*.tsx'],
webpackFinal: (config) => {
config.resolve.modules = ['node_modules', '../assets/js/src'];