'use strict'
const utils = require('./utils')
const isProduction = process.env.NODE_ENV === "production"
//process.env.NODE_ENV 注意空格
module.exports = {
  loaders: utils.cssLoaders({
    sourceMap: false,
    extract: isProduction
  }),
  cssSourceMap: false,
  // cacheBusting: config.dev.cacheBusting,
  transformToRequire: {
    video: ['src', 'poster'],
    source: 'src',
    img: 'src',
    image: 'xlink:href'
  }
}
