aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/.storybook/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/.storybook/main.js')
-rw-r--r--packages/taler-wallet-webextension/.storybook/main.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/packages/taler-wallet-webextension/.storybook/main.js b/packages/taler-wallet-webextension/.storybook/main.js
index c648a9088..d3f216922 100644
--- a/packages/taler-wallet-webextension/.storybook/main.js
+++ b/packages/taler-wallet-webextension/.storybook/main.js
@@ -48,14 +48,14 @@ module.exports = {
webpackFinal: (config) => {
// should be removed after storybook 6.3
// https://github.com/storybookjs/storybook/issues/12853#issuecomment-821576113
- // 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",
-// };
+ // 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
@@ -65,7 +65,7 @@ module.exports = {
use: [
{
...(config.module.rules[0].use[0]),
- loader: 'babel-loader',
+ loader: 'babel-loader',
},
{
loader: '@linaria/webpack-loader',
@@ -74,7 +74,7 @@ module.exports = {
babelOptions: {
presets: config.module.rules[0].use[0].options.presets,
}
- // Pass the current babel options to linaria's babel instance
+ // Pass the current babel options to linaria's babel instance
}
}
]