From 1e5058c345b754a9aa219c81b2059c1f197e0a32 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 18 二月 2022 11:30:00 +0800
Subject: [PATCH] 修改os基础包label
---
vue.config.js | 41 +----------------------------------------
1 files changed, 1 insertions(+), 40 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 602fd6a..6af9204 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,17 +12,11 @@
build7z,
donation,
} = require("./src/config");
-const {
- webpackBarName,
- webpackBanner,
- donationConsole,
-} = require("zx-layouts");
const { version, author } = require("./package.json");
const Webpack = require("webpack");
const WebpackBar = require("webpackbar");
-const FileManagerPlugin = require("filemanager-webpack-plugin");
const dayjs = require("dayjs");
const date = dayjs().format("YYYY_M_D");
const time = dayjs().format("YYYY-M-D HH:mm:ss");
@@ -60,7 +54,7 @@
plugins: [
new Webpack.ProvidePlugin(providePlugin),
new WebpackBar({
- name: webpackBarName,
+ name: "vue-intergrate",
}),
],
};
@@ -131,40 +125,7 @@
},
},
});
- config
- .plugin("banner")
- .use(Webpack.BannerPlugin, [`${webpackBanner}${time}`])
- .end();
- config.module
- .rule("images")
- .use("image-webpack-loader")
- .loader("image-webpack-loader")
- .options({
- bypassOnDebug: true,
- })
- .end();
});
-
- if (build7z) {
- config.when(process.env.NODE_ENV === "production", (config) => {
- config
- .plugin("fileManager")
- .use(FileManagerPlugin, [
- {
- onEnd: {
- delete: [`./${outputDir}/video`, `./${outputDir}/data`],
- archive: [
- {
- source: `./${outputDir}`,
- destination: `./${outputDir}/${abbreviation}_${outputDir}_${date}.7z`,
- },
- ],
- },
- },
- ])
- .end();
- });
- }
},
runtimeCompiler: true,
productionSourceMap: false,
--
Gitblit v1.8.0