mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Make sure that polyfills are loaded before the storybook is loaded
This commit is contained in:
parent
0a3dc90570
commit
a59c35ade2
@ -87,9 +87,9 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }
|
||||
|
||||
/** Merge baseConfig Webpack with angular-cli Webpack */
|
||||
const entry = [
|
||||
...(cliConfig.entry.polyfills ?? []),
|
||||
...baseConfig.entry,
|
||||
...(cliConfig.entry.styles ?? []),
|
||||
...(cliConfig.entry.polyfills ?? []),
|
||||
];
|
||||
|
||||
// Don't use storybooks styling rules because we have to use rules created by @angular-devkit/build-angular
|
||||
|
Loading…
x
Reference in New Issue
Block a user