|
@@ -1,8 +1,9 @@
|
|
|
const fs = require('fs');
|
|
|
// const copywebpackplugin = require('copy-webpack-plugin');
|
|
|
// const { name } = require("./package.json");
|
|
|
-const name = 'dist';
|
|
|
-publicPath = process.env.NODE_ENV === "development" ? "/" : `/${name}`;
|
|
|
+// const name = 'dist';
|
|
|
+// publicPath = process.env.NODE_ENV === "development" ? "/" : `/${name}`;
|
|
|
+publicPath = '/';
|
|
|
module.exports = {
|
|
|
publicPath: publicPath, //相对路径
|
|
|
outputDir: name, //打包名称
|