aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-12-01 15:10:17 -0300
committerSebastian <sebasjm@gmail.com>2021-12-01 15:10:47 -0300
commitc3b01ad9e4ccd49407a8df7aafce61909291a1b9 (patch)
tree89ac787e27d35181dfa48b8aa7d04af477a4275e
parent0f8e9b67dd1dede142f0cb25406f212d07da7b3f (diff)
removing workaround since it creates another problems
-rw-r--r--packages/taler-wallet-webextension/.storybook/main.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/.storybook/main.js b/packages/taler-wallet-webextension/.storybook/main.js
index cd58d4d1d..c648a9088 100644
--- a/packages/taler-wallet-webextension/.storybook/main.js
+++ b/packages/taler-wallet-webextension/.storybook/main.js
@@ -48,10 +48,14 @@ module.exports = {
webpackFinal: (config) => {
// should be removed after storybook 6.3
// https://github.com/storybookjs/storybook/issues/12853#issuecomment-821576113
- config.resolve.alias = {
- react: "preact/compat",
- "react-dom": "preact/compat",
- };
+ // removing workaround since this creates another problem
+ // https://github.com/storybookjs/storybook/issues/16623
+ // 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
// https://github.com/callstack/linaria/blob/master/docs/BUNDLERS_INTEGRATION.md#webpack