refactor: remove unused properties in base config

This commit is contained in:
Clark Du 2018-12-21 15:18:14 +00:00
parent 15ad7d03c9
commit 90f42a618e

View File

@ -26,7 +26,6 @@ export default class WebpackBaseConfig {
this.nuxt = builder.context.nuxt this.nuxt = builder.context.nuxt
this.isStatic = builder.context.isStatic this.isStatic = builder.context.isStatic
this.options = builder.context.options this.options = builder.context.options
this.spinner = builder.spinner
this.loaders = this.options.build.loaders this.loaders = this.options.build.loaders
this.buildMode = this.options.dev ? 'development' : 'production' this.buildMode = this.options.dev ? 'development' : 'production'
this.modulesToTranspile = this.normalizeTranspile() this.modulesToTranspile = this.normalizeTranspile()