zhangzengfei
2021-11-19 3b7fc5fca41ff16d544e53a61dbe2b74f6d37f97
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,