12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- 'use strict'
- const path = require('path')
- const proxyTable = require('./proxyConfig')
- module.exports = {
- dev: {
-
- assetsSubDirectory: 'static',
- assetsPublicPath: '/',
- proxyTable: proxyTable,
-
- host: '127.0.0.1',
- port: 5757,
- autoOpenBrowser: false,
- errorOverlay: true,
- notifyOnErrors: true,
- poll: false,
-
-
-
- useEslint: true,
-
-
- showEslintErrorsInOverlay: false,
-
-
- devtool: 'cheap-module-eval-source-map',
-
-
-
- cacheBusting: true,
- cssSourceMap: true
- },
- build: {
- devEnv: require('./dev.env'),
- testEnv: require('./test.env'),
- prodEnv: require('./prod.env'),
-
- index: path.resolve(__dirname, '../dist/index.html'),
-
- assetsRoot: path.resolve(__dirname, '../dist'),
- assetsSubDirectory: 'static',
- assetsPublicPath: './',
-
- productionSourceMap: false,
-
- devtool: '#source-map',
-
-
-
-
- productionGzip: false,
- productionGzipExtensions: ['js', 'css'],
-
-
-
-
- bundleAnalyzerReport: process.env.npm_config_report
- }
- }
|