module.exports = { prod: { //admin "admin/index": "./js/admin/index.js", "admin/login": "./js/admin/login.js", "admin/userManage": "./js/admin/userManage.js", }, watch: { //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", ], }, };