mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 08:25:52 +08:00
店铺入驻bug修改
This commit is contained in:
@@ -16,14 +16,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
devServer: {
|
||||
|
||||
port: 9998,
|
||||
// proxy: {
|
||||
// '/lili': {
|
||||
// target: 'http://127.0.0.1:8888', // 请求本地 需要lili后台项目
|
||||
// ws: true
|
||||
// }
|
||||
// }
|
||||
},
|
||||
|
||||
chainWebpack: config => {
|
||||
@@ -76,12 +69,9 @@ module.exports = {
|
||||
vendor: {
|
||||
test: /[\\/]node_modules[\\/]/,
|
||||
name(module) {
|
||||
// get the name. E.g. node_modules/packageName/not/this/part.js
|
||||
// or node_modules/packageName
|
||||
const packageName = module.context.match(
|
||||
/[\\/]node_modules[\\/](.*?)([\\/]|$)/
|
||||
)[1];
|
||||
// npm package names are URL-safe, but some servers don't like @ symbols
|
||||
return `npm.${packageName.replace("@", "")}`;
|
||||
}
|
||||
}
|
||||
@@ -89,7 +79,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
pluginOptions: {
|
||||
'style-resources-loader': {
|
||||
preProcessor: 'scss',
|
||||
|
||||
Reference in New Issue
Block a user