You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
524 B
JavaScript
27 lines
524 B
JavaScript
|
|
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(),
|
|
],
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
} |