Skip to content

Commit b4dca27

Browse files
committed
chore(storybook): remove core-js plugin from storybook config
ref: storybookjs/storybook#7445
1 parent 5ac2818 commit b4dca27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: packages/react/.storybook/webpack.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,9 @@ module.exports = ({ config, mode }) => {
138138
plugins: [new FeatureFlagProxyPlugin()],
139139
};
140140

141+
config.plugins = config.plugins.filter(
142+
p => String(p.resourceRegExp) !== '/core-js/'
143+
);
144+
141145
return config;
142146
};

0 commit comments

Comments
 (0)