mirror of
https://gitee.com/gokins/gokins.git
synced 2024-12-02 03:07:46 +08:00
13 lines
307 B
JavaScript
13 lines
307 B
JavaScript
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
|
|
})
|
|
}
|