| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | 'use strict'const path = require('path')module.exports = {//http://192.168.0.105:8081///http://app.bluefire.top:8088   线上地址    dev: {        assetsSubDirectory: 'static',        assetsPublicPath: '/',        proxyTable: {            '/': {                // target: 'http://47.108.151.62:80/pre', //后端接口地址     中间人运营平台                // target: 'http://47.108.151.62', //后端接口地址                   // target: 'http://192.168.3.12:7001', //后端接口地址                   target: 'http://127.0.0.1:28081', //后端接口地址                   // target: 'http://47.108.14.99:7001/', //后端接口地址                   changeOrigin: true, //是否跨域                pathRewrite: {                    '^/': '/', //重写,                }            }        },        // 本地开发使用   192.168.0.126  localhost        host: '192.168.3.28',        // host: '192.168.124.10',        port: 8081,        autoOpenBrowser: true,        errorOverlay: true,        notifyOnErrors: false,        poll: false,        useEslint: true,        showEslintErrorsInOverlay: false,        devtool: 'cheap-source-map',        cssSourceMap: false    },    build: {        index: path.resolve(__dirname, '../dist/index.html'),        assetsRoot: path.resolve(__dirname, '../dist'),        assetsSubDirectory: 'static',        assetsPublicPath: '/bid2/',        productionSourceMap: false,        devtool: 'source-map',        productionGzip: false,        productionGzipExtensions: ['js', 'css'],        bundleAnalyzerReport: process.env.npm_config_report || false,        generateAnalyzerReport: process.env.npm_config_generate_report || false    }}
 |