module.exports = {
    // publicPath: '/child_pc/',
    publicPath: '/pc',
    assetsDir:"static",
    outputDir: 'child',
    indexPath:"index.html",
    filenameHashing:"true",
    productionSourceMap: false,
    lintOnSave: false,
    devServer: {
        port: 8086, // 端口号
        hot:true,
        disableHostCheck:true,//热更新不生效  可以打开此属性
        // https: false, // https:{type:Boolean}
        open: true, //配置自动启动浏览器
        proxy: {
            '/chat': {
                target: process.env.VUE_APP_TARGET,
                // ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/chat': '/chat'    //代理的路径
                }
            },
        }
    },
}