Skip to content

Commit a8c12d7

Browse files
authored
Merge pull request #90253 from s77rt/support-VictoryChart-messages
Add client-side support for `<VictoryChart>` element
2 parents 54c1c6c + c92d914 commit a8c12d7

38 files changed

Lines changed: 1506 additions & 414 deletions

.storybook/webpack.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type CustomWebpackConfig = {
2020
resolve: {
2121
alias: Record<string, string>;
2222
extensions: string[];
23+
fallback: Record<string, string | false | string[]>;
2324
};
2425
module: {
2526
rules: RuleSetRule[];
@@ -73,7 +74,9 @@ const webpackConfig = async ({config}: {config: Configuration}) => {
7374
definePlugin.definitions.__REACT_WEB_CONFIG__ = JSON.stringify(env);
7475
}
7576
}
77+
7678
config.resolve.extensions = custom.resolve.extensions;
79+
config.resolve.fallback = custom.resolve.fallback;
7780

7881
const babelRulesIndex = custom.module.rules.findIndex((rule) => rule.loader === 'babel-loader');
7982
const babelRule = custom.module.rules.at(babelRulesIndex);

0 commit comments

Comments
 (0)