entry.config.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. module.exports = {
  2. prod: {
  3. //user
  4. 'user/index': './js/user/index.js',
  5. 'user/login': './js/user/login.js',
  6. 'user/signIn': './js/user/signIn.js',
  7. 'user/account/index': './js/user/account/index.js',
  8. 'user/account/evaluateInfo': './js/user/account/assessment.js',
  9. //admin
  10. 'admin/login': './js/user/adminLogin.js',
  11. 'admin/index': './js/admin/index.js',
  12. },
  13. watch: {
  14. <<<<<<< HEAD
  15. 'user/index': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  16. 'webpack/hot/only-dev-server',
  17. './js/user/index.js'
  18. ],
  19. 'user/login': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  20. 'webpack/hot/only-dev-server',
  21. './js/user/login.js'
  22. ],
  23. 'user/signIn': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  24. 'webpack/hot/only-dev-server',
  25. './js/user/signIn.js'
  26. ],
  27. 'user/account/index': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  28. 'webpack/hot/only-dev-server',
  29. './js/user/account/index.js'
  30. ],
  31. 'user/account/evaluateInfo': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  32. =======
  33. 'user/index': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  34. 'webpack/hot/only-dev-server',
  35. './js/user/index.js'
  36. ],
  37. 'user/login': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  38. 'webpack/hot/only-dev-server',
  39. './js/user/login.js'
  40. ],
  41. 'user/signIn': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  42. 'webpack/hot/only-dev-server',
  43. './js/user/signIn.js'
  44. ],
  45. 'user/account/index': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  46. 'webpack/hot/only-dev-server',
  47. './js/user/account/index.js'
  48. ],
  49. 'user/account/evaluateInfo': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  50. >>>>>>> 0c83e01ff346f69888c4d3ffbf455bb80e6edf65
  51. 'webpack/hot/only-dev-server',
  52. './js/user/account/assessment.js'
  53. ],
  54. //admin
  55. <<<<<<< HEAD
  56. 'admin/login': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  57. 'webpack/hot/only-dev-server',
  58. './js/user/adminLogin.js'
  59. ],
  60. 'admin/index': ['webpack-dev-server/client?http://192.168.0.190:8088', // WebpackDevServer host and port
  61. =======
  62. 'admin/login': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  63. 'webpack/hot/only-dev-server',
  64. './js/user/adminLogin.js'
  65. ],
  66. 'admin/index': ['webpack-dev-server/client?http://192.168.0.188:8088', // WebpackDevServer host and port
  67. >>>>>>> 0c83e01ff346f69888c4d3ffbf455bb80e6edf65
  68. 'webpack/hot/only-dev-server',
  69. './js/admin/index.js'
  70. ]
  71. }
  72. }