个人vue.config.js文件

const path = require('path')
const debug = process.env.NODE_ENV !== 'production'
//const VueConf = require('./src/assets/js/libs/vue_config_class')
//const vueConf = new VueConf(process.argv)



module.exports = {
    publicPath: '/', // 根域上下文目录
    outputDir: 'dist', // 构建输出目录
    assetsDir: 'assets', // 静态资源目录 (js, css, img, fonts)
    indexPath: 'index.html',
    // lintOnSave: true, // 是否开启eslint保存检测,有效值:ture | false | 'error'
    // runtimeCompiler: true, // 运行时版本是否需要编译
    // transpileDependencies: [], // 默认babel-loader忽略mode_modules,这里可增加例外的依赖包名
    // productionSourceMap: false, // 是否在构建生产包时生成 sourceMap 文件,false将提高构建速度
    // productionSourceMap: true, // 是否在构建生产包时生成 sourceMap 文件,false将提高构建速度
    //     css: { // 配置高于chainWebpack中关于css loader的配置
    //     modules: true, // 是否开启支持‘foo.module.css’样式
    //     extract: true, // 是否使用css分离插件 ExtractTextPlugin,采用独立样式文件载入,不采用