vue-loader.conf.js 307 B

123456789101112
  1. var utils = require('./utils')
  2. var config = require('../config')
  3. var isProduction = process.env.NODE_ENV === 'production'
  4. module.exports = {
  5. loaders: utils.cssLoaders({
  6. sourceMap: isProduction
  7. ? config.build.productionSourceMap
  8. : config.dev.cssSourceMap,
  9. extract: isProduction
  10. })
  11. }