Merge pull request #17674 from storybookjs/17673-fix-angular-webpack4-use-exports

Webpack4: Fix useExports for angular-cli
This commit is contained in:
Michael Shilman 2022-03-09 20:30:41 +08:00 committed by GitHub
commit 275406ad76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
},
runtimeChunk: true,
sideEffects: true,
usedExports: isProd,
usedExports: true,
moduleIds: 'named',
minimizer: isProd
? [