Add support for translations in storybook

[MAILPOET-2849]
This commit is contained in:
Pavel Dohnal
2020-06-01 12:42:36 +02:00
committed by Veljko V
parent add460a480
commit 32c6b1371b

View File

@@ -2,6 +2,13 @@ const path = require('path');
module.exports = {
stories: ['../assets/js/src/**/_stories/*.tsx'],
webpackFinal: (config) => ({
...config,
resolve: {
...config.resolve,
modules: ['node_modules', '../assets/js/src'],
},
}),
addons: [
'@storybook/addon-actions',
'@storybook/addon-links',