You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
307 B
13 lines
307 B
5 years ago
|
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
|
||
|
})
|
||
|
}
|