mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
增加去掉css警告的信息
This commit is contained in:
@@ -27,6 +27,11 @@ module.exports = {
|
|||||||
lintOnSave: process.env.NODE_ENV === 'development',
|
lintOnSave: process.env.NODE_ENV === 'development',
|
||||||
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
|
css: {
|
||||||
|
extract: {
|
||||||
|
ignoreOrder: true
|
||||||
|
}
|
||||||
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
name: name,
|
name: name,
|
||||||
resolve: {
|
resolve: {
|
||||||
@@ -114,7 +119,7 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/systemapi': {
|
'/systemapi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://192.168.0.11:9090',
|
target: 'http://127.0.0.1:9090',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
@@ -131,9 +136,18 @@ module.exports = {
|
|||||||
'^/uboeApi': '/api'
|
'^/uboeApi': '/api'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'/userbasic': {
|
||||||
|
// 目标代理服务器地址
|
||||||
|
target: 'https://u-pre.boe.com',
|
||||||
|
changeOrigin: true,
|
||||||
|
secure: false,
|
||||||
|
pathRewrite: {
|
||||||
|
'^/userbasic': '/userbasic'
|
||||||
|
}
|
||||||
|
},
|
||||||
'/statApi': {
|
'/statApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://192.168.0.11:9080',
|
target: 'http://127.0.0.1:9080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
@@ -143,7 +157,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/socialApi': {
|
'/socialApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://192.168.0.11:9081',
|
target: 'http://127.0.0.1:9081',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user