Added react aliases in Storybook webpack configuration. (#12825)
This commit is contained in:
parent
e235036ecd
commit
bd46c1ff57
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ module.exports = {
|
|||
'@crayons': path.resolve(__dirname, '../crayons'),
|
||||
'@utilities': path.resolve(__dirname, '../utilities'),
|
||||
'@components': path.resolve(__dirname, '../shared/components'),
|
||||
react: 'preact/compat',
|
||||
'react-dom': 'preact/compat',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue