|
@@ -258,6 +258,18 @@ module.exports = (function () {
|
|
|
chunks: ['admin/order', 'vendors'],
|
|
|
}),
|
|
|
new HtmlWebpackPlugin({
|
|
|
+ title: '管理员-法务系统',
|
|
|
+ filename: 'admin/legalAffairs.html',
|
|
|
+ template: './template/template.html',
|
|
|
+ chunks: ['admin/legalAffairs', 'vendors'],
|
|
|
+ }),
|
|
|
+ new HtmlWebpackPlugin({
|
|
|
+ title: '管理员-渠道管理',
|
|
|
+ filename: 'admin/channelList.html',
|
|
|
+ template: './template/template.html',
|
|
|
+ chunks: ['admin/channelList', 'vendors'],
|
|
|
+ }),
|
|
|
+ new HtmlWebpackPlugin({
|
|
|
title: '管理员-平台管理',
|
|
|
filename: 'admin/operate.html',
|
|
|
template: './template/template.html',
|
|
@@ -333,7 +345,8 @@ module.exports = (function () {
|
|
|
}
|
|
|
|
|
|
//let staticHost = 'http://afts.hnzhiming.com';
|
|
|
- let staticHost = 'http://172.16.0.253:80'
|
|
|
+ // let staticHost = 'http://172.16.0.74:80'
|
|
|
+ let staticHost = 'http://172.16.1.187:80'
|
|
|
// let staticHost = "http://192.168.0.106";
|
|
|
// let staticHost = "http://192.168.0.103";
|
|
|
switch (argv.env.deploy) {
|
|
@@ -377,7 +390,8 @@ module.exports = (function () {
|
|
|
// }
|
|
|
devServer: {
|
|
|
disableHostCheck: true,
|
|
|
- host: '172.16.0.253',
|
|
|
+ host: '172.16.1.187',
|
|
|
+ // host: '172.16.0.74',
|
|
|
port: 80,
|
|
|
allowedHosts: ['127.0.0.1', '192.168.0.20', '192.168.0.99'],
|
|
|
headers: {
|
|
@@ -386,3 +400,4 @@ module.exports = (function () {
|
|
|
},
|
|
|
}
|
|
|
})()
|
|
|
+
|