perf(webpack): use `futureEmitAssets` (#5003)

This commit is contained in:
Alexander Lichter 2019-02-11 10:42:37 +00:00 committed by Pooya Parsa
parent 8106523311
commit 3997d5049d
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ export default class WebpackBaseConfig {
return {
path: path.resolve(this.options.buildDir, 'dist', this.isServer ? 'server' : 'client'),
filename: this.getFileName('app'),
futureEmitAssets: true, // TODO: Remove when using webpack 5
chunkFilename: this.getFileName('chunk'),
publicPath: isUrl(this.options.build.publicPath)
? this.options.build.publicPath