diff options
Diffstat (limited to 'packages/taler-wallet-webextension/.storybook')
-rw-r--r-- | packages/taler-wallet-webextension/.storybook/main.js | 20 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/.storybook/preview.js | 1 |
2 files changed, 10 insertions, 11 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 } } ] diff --git a/packages/taler-wallet-webextension/.storybook/preview.js b/packages/taler-wallet-webextension/.storybook/preview.js index 25f9f46ba..6331a7fa8 100644 --- a/packages/taler-wallet-webextension/.storybook/preview.js +++ b/packages/taler-wallet-webextension/.storybook/preview.js @@ -21,7 +21,6 @@ import { TranslationProvider } from '../src/context/translation' import { PopupBox, WalletBox } from '../src/components/styled' export const parameters = { controls: { expanded: true }, - actions: { argTypesRegex: "^on[A-Z].*" }, } export const globalTypes = { |