| 
						 | 
						const { defineConfig } = require("@vue/cli-service");const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")module.exports = defineConfig({    transpileDependencies: true,    lintOnSave: false,    configureWebpack: {        plugins: [            new NodePolyfillPlugin()        ],        resolve: {            fallback: {                fs: false,                crypto: false            }        },        externals: {            './cptable': 'var cptable',        },    },        devServer: {        host: '0.0.0.0',        port: "8081",                // proxy: {
        //     "/api": {
        //         target: "http://135.191.65.118:8080",
        //         changeorigin: true, // 在本会创建一个虚拟服务满,然后发送清求的数,并同时接收济求的数,这样服务端和服务减进行数据的交互就不会有域问题
        //         rewite: (path) => path.replace(/^\/api/, ""),
        //         // pathRewrite: {
        //         //   "^/api": ''
        //         // }
        //     },
        // },        
    },        terser: {        terserOptions: {            compress: {                drop_console: true,                drop_debugger: true            }        }    }    // pages: {
    //   index: {
    //     entry: 'src/main.js',
    //     template: 'src/App.vue',
    //     filname: 'index.html'
    //   },
    //   about: {
    //     entry: 'src/main.js',
    //     template: 'src/App.vue',
    //     filname: 'about.html'
    //   },
    // }
});
  |