bitbadger.solutions-theme/build/vue-loader.conf.js
Daniel J. Summers 7462c816f5 Initial import
v1 of Vue.js-based site
2017-07-26 22:09:53 -05:00

19 lines
413 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
}),
transformToRequire: {
video: 'src',
source: 'src',
img: 'src',
image: 'xlink:href'
}
}