123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
- var path = require('path')
-
- module.exports = {
- build: {
- env: require('./prod.env'),
- index: path.resolve(__dirname, '../dist/index.html'),
- assetsRoot: path.resolve(__dirname, '../dist'),
- assetsSubDirectory: 'static',
- assetsPublicPath: '../',
- productionSourceMap: true,
-
-
-
-
- productionGzip: false,
- productionGzipExtensions: ['js', 'css']
- },
- dev: {
- env: require('./dev.env'),
- port: 8081,
- assetsSubDirectory: 'static',
- assetsPublicPath: '/',
- proxyTable: {
- '/api': {
-
-
- target: 'http://dev.ycjcjy.com',
- changeOrigin: true,
- pathRewrite: {
- '^/api': '/api-v2/api'
- },
- },
- },
-
-
-
-
-
- cssSourceMap: false
- }
- }
|