refactor: remove unused properties in style-loader

This commit is contained in:
Clark Du 2018-12-21 15:15:11 +00:00
parent 0491c8a7e7
commit 15ad7d03c9

View File

@ -9,10 +9,6 @@ export default class StyleLoader {
constructor(options, nuxt, { isServer, perfLoader }) { constructor(options, nuxt, { isServer, perfLoader }) {
this.isServer = isServer this.isServer = isServer
this.perfLoader = perfLoader this.perfLoader = perfLoader
this.dev = options.dev
this.srcDir = options.srcDir
this.assetsDir = options.dir.assets
this.staticDir = options.dir.static
this.rootDir = options.rootDir this.rootDir = options.rootDir
this.loaders = { this.loaders = {
css: options.build.loaders.css, css: options.build.loaders.css,