mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Update webpack perfs hints
This commit is contained in:
parent
221bcb5e33
commit
7333e7a758
@ -24,7 +24,8 @@ export default function ({ isClient, isServer }) {
|
|||||||
publicPath: (isUrl(this.options.build.publicPath) ? this.options.build.publicPath : urlJoin(this.options.router.base, this.options.build.publicPath))
|
publicPath: (isUrl(this.options.build.publicPath) ? this.options.build.publicPath : urlJoin(this.options.router.base, this.options.build.publicPath))
|
||||||
},
|
},
|
||||||
performance: {
|
performance: {
|
||||||
maxEntrypointSize: 400000,
|
maxEntrypointSize: 300000,
|
||||||
|
maxAssetSize: 300000,
|
||||||
hints: (this.dev ? false : 'warning')
|
hints: (this.dev ? false : 'warning')
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
Loading…
Reference in New Issue
Block a user