pig-ui/build/vue-loader.conf.js

13 lines
307 B
JavaScript
Raw Normal View History

2017-11-02 14:41:37 +08:00
var utils = require('./utils')
var config = require('../config')
var isProduction = process.env.NODE_ENV === 'production'
module.exports = {
2017-12-14 09:24:24 +08:00
loaders: utils.cssLoaders({
sourceMap: isProduction
? config.build.productionSourceMap
: config.dev.cssSourceMap,
extract: isProduction
})
2017-11-02 14:41:37 +08:00
}