admin-fe/build/vue-loader.conf.js

13 lines
331 B
JavaScript
Raw Normal View History

2017-04-18 07:09:13 +00: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
})
}