x
This commit is contained in:
@@ -2,7 +2,7 @@ const TerserPlugin = require("terser-webpack-plugin"),
|
||||
{ VueLoaderPlugin } = require("vue-loader"),
|
||||
path = require("path"),
|
||||
fs = require("fs-extra");
|
||||
// const ZenAppPlugin = require("@zen/app-plugin");
|
||||
const ZenAppPlugin = require("@zen/app-plugin");
|
||||
const MiddleWare = require("@zen/app-plugin/middleware");
|
||||
|
||||
function optimization(mode) {
|
||||
@@ -148,7 +148,7 @@ module.exports = (env, argv) => {
|
||||
"Access-Control-Allow-Headers": "*",
|
||||
},
|
||||
};
|
||||
// webpackConfig.plugins.push(new ZenAppPlugin());
|
||||
webpackConfig.plugins.push(new ZenAppPlugin());
|
||||
} else {
|
||||
webpackConfig.output.clean = true;
|
||||
webpackConfig.output.path = path.join(vuePath, "dist");
|
||||
|
||||
Reference in New Issue
Block a user