module.exports = { prod: { //user "user/index": "./js/user/index.js", "user/login": "./js/user/login.js", "user/signIn": "./js/user/signIn.js", "user/certify": "./js/user/certify.js", "user/groupCertify": "./js/user/groupCertify.js", "user/subscriberDetail": "./js/user/subscriberDetail.js", //user-account "user/account/index": "./js/user/account/index.js", "user/account/set": "./js/user/account/set.js", "user/account/services": "./js/user/account/services.js", "user/account/achievement": "./js/user/account/achievement.js", "user/account/demand": "./js/user/account/demand.js", "user/account/evaluateInfo": "./js/user/account/evaluateInfo.js", //admin "admin/index": "./js/admin/index.js", "admin/login": "./js/admin/login.js", "admin/set": "./js/admin/set.js", "admin/userManage": "./js/admin/userManage.js", "admin/idea": "./js/admin/idea.js", //admin-servicesManage "admin/servicesManage/contract": "./js/admin/servicesManage/contract.js", "admin/servicesManage/patent": "./js/admin/servicesManage/patent.js", "admin/servicesManage/copyright": "./js/admin/servicesManage/copyright.js", "admin/servicesManage/highTech": "./js/admin/servicesManage/highTech.js", "admin/servicesManage/highTechInfo": "./js/admin/servicesManage/highTechInfo.js", "admin/servicesManage/technology": "./js/admin/servicesManage/technology.js", "admin/servicesManage/projectOrder": "./js/admin/servicesManage/projectOrder.js", //admin/demand "admin/demand": "./js/admin/demand.js", "admin/customerService": "./js/admin/customerService.js", "admin/legalAffairs": "./js/admin/legalAffairs.js", "admin/achievement": "./js/admin/achievement.js", "admin/customer": "./js/admin/customer.js", //admin/userOrder "admin/userOrder": "./js/admin/userOrder.js", "admin/order": "./js/admin/order.js", "admin/operate": "./js/admin/operate.js", "admin/personnel": "./js/admin/personnel.js", "admin/project": "./js/admin/project.js", "admin/statistics": "./js/admin/statistics.js", //portal 门户 // 'portal/search/demand': './js/portal/search/demand.js', // 'portal/search/achievement': './js/portal/search/achievement.js', // 'portal/search/subscriberUser': './js/portal/search/subscriberUser.js', // 'portal/search/subscriberOrg': './js/portal/search/subscriberOrg.js' }, watch: { "user/index": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/index.js", ], "user/login": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/login.js", ], "user/signIn": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/signIn.js", ], "user/certify": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/certify.js", ], "user/groupCertify": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/groupCertify.js", ], "user/subscriberDetail": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/subscriberDetail.js", ], //user-account "user/account/index": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/index.js", ], "user/account/set": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/set.js", ], "user/account/services": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/services.js", ], "user/account/achievement": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/achievement.js", ], "user/account/evaluateInfo": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/evaluateInfo.js", ], "user/account/demand": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/user/account/demand.js", ], //admin "admin/index": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/index.js", ], "admin/login": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/login.js", ], "admin/userManage": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/userManage.js", ], "admin/demand": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/demand.js", ], "admin/customerService": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/customerService.js", ], "admin/legalAffairs": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/legalAffairs.js", ], "admin/achievement": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/achievement.js", ], "admin/customer": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/customer.js", ], "admin/set": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/set.js", ], "admin/idea": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/idea.js", ], "admin/userOrder": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/userOrder.js", ], "admin/order": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/order.js", ], "admin/operate": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/operate.js", ], "admin/project": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/project.js", ], "admin/personnel": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/personnel.js", ], //admin-servicesManage "admin/servicesManage/contract": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/contract.js", ], "admin/servicesManage/patent": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/patent.js", ], "admin/servicesManage/copyright": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/copyright.js", ], "admin/servicesManage/highTech": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/highTech.js", ], "admin/servicesManage/highTechInfo": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/highTechInfo.js", ], "admin/servicesManage/technology": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/technology.js", ], "admin/servicesManage/projectOrder": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/servicesManage/projectOrder.js", ], "admin/statistics": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/statistics.js", ], "admin/project": [ "webpack-dev-server/client?http://127.0.0.1:80", // WebpackDevServer host and port "webpack/hot/only-dev-server", "./js/admin/project.js", ], //portal 门户 // 'portal/search/demand': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port // 'webpack/hot/only-dev-server', // './js/portal/search/demand.js' // ], // 'portal/search/achievement': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port // 'webpack/hot/only-dev-server', // './js/portal/search/achievement.js' // ], // 'portal/search/subscriberUser': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port // 'webpack/hot/only-dev-server', // './js/portal/search/subscriberUser.js' // ], // 'portal/search/subscriberOrg': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port // 'webpack/hot/only-dev-server', // './js/portal/search/subscriberOrg.js' // ] }, };