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.
19 lines
432 B
19 lines
432 B
'use strict' |
|
const utils = require('./utils') |
|
const config = require('../config') |
|
const isProduction = process.env.NODE_ENV === 'production' |
|
|
|
module.exports = { |
|
loaders: utils.cssLoaders({ |
|
sourceMap: isProduction |
|
? config.build.productionSourceMap |
|
: config.dev.cssSourceMap, |
|
extract: isProduction |
|
}), |
|
transformToRequire: { |
|
video: 'src', |
|
source: 'src', |
|
img: 'src', |
|
image: 'xlink:href' |
|
} |
|
}
|
|
|