removing workaround since it creates another problems
This commit is contained in:
parent
0f8e9b67dd
commit
c3b01ad9e4
@ -48,10 +48,14 @@ module.exports = {
|
|||||||
webpackFinal: (config) => {
|
webpackFinal: (config) => {
|
||||||
// should be removed after storybook 6.3
|
// should be removed after storybook 6.3
|
||||||
// https://github.com/storybookjs/storybook/issues/12853#issuecomment-821576113
|
// https://github.com/storybookjs/storybook/issues/12853#issuecomment-821576113
|
||||||
config.resolve.alias = {
|
// removing workaround since this creates another problem
|
||||||
react: "preact/compat",
|
// https://github.com/storybookjs/storybook/issues/16623
|
||||||
"react-dom": "preact/compat",
|
// https://github.com/nodejs/node/issues/33460
|
||||||
};
|
// FIXME: remove this comments in 2022 if no problem arise
|
||||||
|
// config.resolve.alias = {
|
||||||
|
// react: "preact/compat",
|
||||||
|
// "react-dom": "preact/compat",
|
||||||
|
// };
|
||||||
|
|
||||||
// we need to add @linaria loader AFTER the babel-loader
|
// we need to add @linaria loader AFTER the babel-loader
|
||||||
// https://github.com/callstack/linaria/blob/master/docs/BUNDLERS_INTEGRATION.md#webpack
|
// https://github.com/callstack/linaria/blob/master/docs/BUNDLERS_INTEGRATION.md#webpack
|
||||||
|
Loading…
Reference in New Issue
Block a user