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