diff --git a/lib/builder/builder.js b/lib/builder/builder.js index b27009579b..32fd3a32e1 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -689,7 +689,8 @@ module.exports = class Builder { await this.webpackDevMiddleware.close() } - async generateConfig() { + // TODO: remove ignore when generateConfig enabled again + async generateConfig() /* istanbul ignore next */ { const config = resolve(this.options.buildDir, 'build.config.js') const options = _.omit(this.options, Options.unsafeKeys) await writeFile( diff --git a/test/fixtures/with-config/nuxt.config.js b/test/fixtures/with-config/nuxt.config.js index 144a3a7c77..e427b91100 100644 --- a/test/fixtures/with-config/nuxt.config.js +++ b/test/fixtures/with-config/nuxt.config.js @@ -43,6 +43,7 @@ module.exports = { build: { stats: false, publicPath: '/orion/', + maxChunkSize: 300000, analyze: { analyzerMode: 'disabled', generateStatsFile: true @@ -63,6 +64,7 @@ module.exports = { }, css: [{ src: '~/assets/app.css' }], render: { + csp: true, http2: { push: true, shouldPush: (file, type) => type === 'script'