zhangzengfei
2022-10-19 6339f41cfff5b9fdf33eb2f788658247430b5091
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,