Skip to content

Commit

Permalink
perf(workflow-plugin-angular): enable futureEmitAssets
Browse files Browse the repository at this point in the history
should produce smaller bundles
  • Loading branch information
Rob McGuinness committed Apr 20, 2019
1 parent e09b735 commit 99567e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/workflow-plugin-angular/webpack.config.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const config = {
output: {
path: settings.output(),
filename: settings.fileName(),
// TODO: remove this when upgrading to webpack 5
futureEmitAssets: true,
devtoolModuleFilenameTemplate: info =>
`webpack:///${path.relative(settings.project(), info.absoluteResourcePath)}${
info.loaders ? `?${info.loaders}` : ''
Expand Down

0 comments on commit 99567e3

Please sign in to comment.