Add support for translations in storybook
[MAILPOET-2849]
This commit is contained in:
@@ -2,6 +2,13 @@ const path = require('path');
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
stories: ['../assets/js/src/**/_stories/*.tsx'],
|
stories: ['../assets/js/src/**/_stories/*.tsx'],
|
||||||
|
webpackFinal: (config) => ({
|
||||||
|
...config,
|
||||||
|
resolve: {
|
||||||
|
...config.resolve,
|
||||||
|
modules: ['node_modules', '../assets/js/src'],
|
||||||
|
},
|
||||||
|
}),
|
||||||
addons: [
|
addons: [
|
||||||
'@storybook/addon-actions',
|
'@storybook/addon-actions',
|
||||||
'@storybook/addon-links',
|
'@storybook/addon-links',
|
||||||
|
Reference in New Issue
Block a user