module.exports = {
    devServer: {
        proxy: {
            "/api": {
                target: "http://localhost:3000",
                changeOrigin: true,
                secure: false,
                pathRewrite: {
                    "^/api": ''
                }
            },
        },
        // 关闭esline
        overlay: {
            warnings: false,
            errors: false
        },
    },
}