jinjianback1.1/build/vue-loader.conf.js

13 lines
307 B
JavaScript
Raw Normal View History

2017-06-26 13:38:24 +08:00
var utils = require('./utils')
var config = require('../config')
var isProduction = process.env.NODE_ENV === 'production'
module.exports = {
loaders: utils.cssLoaders({
sourceMap: isProduction
? config.build.productionSourceMap
: config.dev.cssSourceMap,
extract: isProduction
})
}