12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- "use strict";
- const path = require("path");
- module.exports = {
- dev: {
-
- assetsSubDirectory: "static",
- assetsPublicPath: "/luohe_park",
-
- host: '0.0.0.0',
-
- port: process.env.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, "../luohe_park/index.html"),
-
- assetsRoot: path.resolve(__dirname, "../luohe_park"),
- assetsSubDirectory: "static",
- assetsPublicPath: "/luohe_park/",
-
- productionSourceMap: false,
-
- devtool: "#source-map",
-
-
-
-
- productionGzip: false,
- productionGzipExtensions: ["js", "css"],
-
-
-
-
- bundleAnalyzerReport: process.env.npm_config_report
- }
- };
|