From 3b7fc5fca41ff16d544e53a61dbe2b74f6d37f97 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 19 十一月 2021 13:05:26 +0800
Subject: [PATCH] remove image-webpack-loader

---
 vue.config.js |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 4c3f2a0..6af9204 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,11 +12,6 @@
   build7z,
   donation,
 } = require("./src/config");
-const {
-  webpackBarName,
-  webpackBanner,
-  donationConsole,
-} = require("zx-layouts");
 
 const { version, author } = require("./package.json");
 
@@ -59,7 +54,7 @@
       plugins: [
         new Webpack.ProvidePlugin(providePlugin),
         new WebpackBar({
-          name: webpackBarName,
+          name: "vue-intergrate",
         }),
       ],
     };
@@ -130,18 +125,6 @@
           },
         },
       });
-      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();
     });
   },
   runtimeCompiler: true,

--
Gitblit v1.8.0