mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
perf(webpack): use futureEmitAssets
(#5003)
This commit is contained in:
parent
8106523311
commit
3997d5049d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user