mirror of
https://gitee.com/mafgwo/stackedit
synced 2024-11-16 03:32:40 +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
|
||
|
})
|
||
|
}
|