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