Switch storybook builds to Webpack 5
[MAILPOET-3826]
This commit is contained in:
committed by
Veljko V
parent
e93bef08f4
commit
97e1263451
@@ -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'];
|
||||
|
Reference in New Issue
Block a user