const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const path = require('path'); module.exports = { devServer:{ proxy:{ '/api':{ target:'http://192.168.10.53:9100/v1/v1', changOrigin:true, pathRewrite:{ '^/api':'' } } } }, configureWebpack: { optimization: { minimizer: [ new CssMinimizerPlugin(), ], } } }