From 3df3d9e5a70a8517eb94292c616a6d21ba38a988 Mon Sep 17 00:00:00 2001 From: coderwei <916606569@qq.com> Date: Thu, 22 May 2025 09:09:37 +0800 Subject: [PATCH] feat: remove vue.config.js --- web/vue.config.js | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 web/vue.config.js diff --git a/web/vue.config.js b/web/vue.config.js deleted file mode 100644 index 3c59b9be..00000000 --- a/web/vue.config.js +++ /dev/null @@ -1,36 +0,0 @@ -const { defineConfig } = require("@vue/cli-service"); -const path = require("path"); -let webpack = require("webpack"); -module.exports = defineConfig({ - transpileDependencies: true, - lintOnSave: false, //关闭eslint校验 - productionSourceMap: false, //在生产模式中禁用 Source Map,既可以减少包大小,也可以加密源码 - - configureWebpack: { - // disable performance hints - performance: { - hints: false, - }, - plugins: [new webpack.optimize.MinChunkSizePlugin({ minChunkSize: 10000 })], - resolve: { - alias: { - "@": path.resolve(__dirname, "src"), - }, - }, - }, - - publicPath: "/", - - outputDir: "dist", - crossorigin: "anonymous", - devServer: { - allowedHosts: "all", - port: 8888, - proxy: { - "/static/upload/": { - target: process.env.VUE_APP_API_HOST, - changeOrigin: true, - }, - }, - }, -});