12345678910111213141516171819202122232425262728293031323334353637383940414243 |
-
- 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://192.168.0.11:8080',
-
- changeOrigin: true,
-
-
-
- },
- },
-
-
-
-
-
- cssSourceMap: false
- }
- }
|