entry.config.js 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. module.exports = {
  2. prod: {
  3. 'index': './src/js/newMenu/index.js',
  4. 'search': './src/js/search.js',
  5. 'aboutUs': './src/js/aboutUs.js',
  6. 'contactUs': './src/js/contactUs.js',
  7. 'register': './src/js/register.js',
  8. 'thinkTank': './src/js/thinkTank.js',
  9. 'technologyTrading/achievementDetail': './src/js/technologyTrading/achievementDetail.js',
  10. 'technologyTrading/demandDetail': './src/js/technologyTrading/demandDetail.js',
  11. 'thinkTank/policyDetail': './src/js/thinkTank/policyDetail.js',
  12. 'thinkTank/policyList': './src/js/thinkTank/policyList.js',
  13. 'thinkTank/thinkerDetail': './src/js/thinkTank/thinkerDetail.js',
  14. //newsApp
  15. 'news/newsDetailApp': './src/js/news/newsDetailApp.js',
  16. 'news/appCognizance': './src/js/news/appCognizance.js',
  17. 'news/agreement': './src/js/news/agreement.js',
  18. /* 2018-06 新版科技需求 */
  19. 'newMenu/demand': './src/js/newMenu/demand.js',
  20. 'newMenu/achievement': './src/js/newMenu/achievement.js',
  21. 'newMenu/achievementList': './src/js/newMenu/achievementList.js',
  22. 'newMenu/demandList': './src/js/newMenu/demandList.js',
  23. 'newMenu/services': './src/js/newMenu/services.js',
  24. 'newMenu/serviceList': './src/js/newMenu/serviceList.js',
  25. 'newMenu/serviceDetails': './src/js/newMenu/serviceDetails.js',
  26. 'newMenu/shopList': './src/js/newMenu/shopList.js',
  27. 'newMenu/patentList': './src/js/newMenu/patentList.js',
  28. 'newMenu/tradingIndex': './src/js/newMenu/tradingIndex.js',
  29. 'newMenu/patent': './src/js/newMenu/patent.js',
  30. 'newMenu/companyProfile': './src/js/newMenu/companyProfile.js',
  31. 'newMenu/continueHigh': './src/js/newMenu/continueHigh.js',
  32. 'newMenu/practicalPatent': './src/js/newMenu/continueHigh.js',
  33. 'newMenu/militaryProject': './src/js/newMenu/continueHigh.js',
  34. 'newMenu/safeguarding': './src/js/newMenu/safeguarding.js',
  35. //app
  36. 'evaluation/evaluate': './src/js/newMenu/evaluate.js',
  37. 'newMenu/adviserList': './src/js/newMenu/adviserList.js',
  38. 'newMenu/adviserDetail': './src/js/newMenu/adviserDetail.js',
  39. 'newMenu/adviser': './src/js/newMenu/adviser.js',
  40. },
  41. watch: {
  42. 'index': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  43. 'webpack/hot/only-dev-server',
  44. './src/js/newMenu/index.js'
  45. ],
  46. 'search': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  47. 'webpack/hot/only-dev-server',
  48. './src/js/search.js'
  49. ],
  50. 'aboutUs': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  51. 'webpack/hot/only-dev-server',
  52. './src/js/aboutUs.js'
  53. ],
  54. 'contactUs': ['webpack-dev-server/client?http://192.168.0.190',
  55. 'webpack/hot/only-dev-server',
  56. './src/js/contactUs.js'
  57. ],
  58. 'register': ['webpack-dev-server/client?http://192.168.0.190',
  59. 'webpack/hot/only-dev-server',
  60. './src/js/register.js'
  61. ],
  62. 'thinkTank': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  63. 'webpack/hot/only-dev-server',
  64. './src/js/thinkTank.js'
  65. ],
  66. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  67. 'webpack/hot/only-dev-server',
  68. './src/js/technologyTrading/achievementDetail.js'
  69. ],
  70. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  71. 'webpack/hot/only-dev-server',
  72. './src/js/technologyTrading/demandDetail.js'
  73. ],
  74. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  75. 'webpack/hot/only-dev-server',
  76. './src/js/thinkTank/policyDetail.js'
  77. ],
  78. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  79. 'webpack/hot/only-dev-server',
  80. './src/js/thinkTank/thinkerDetail.js'
  81. ],
  82. 'thinkTank/policyList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  83. 'webpack/hot/only-dev-server',
  84. './src/js/thinkTank/policyList.js'
  85. ],
  86. // newsApp
  87. 'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  88. 'webpack/hot/only-dev-server',
  89. './src/js/news/newsDetailApp.js'
  90. ],
  91. 'news/appCognizance': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  92. 'webpack/hot/only-dev-server',
  93. './src/js/news/appCognizance.js'
  94. ],
  95. 'news/agreement': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  96. 'webpack/hot/only-dev-server',
  97. './src/js/news/agreement.js'
  98. ],
  99. /* 2018-06 新版科技需求 */
  100. 'newMenu/demand': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  101. 'webpack/hot/only-dev-server',
  102. './src/js/newMenu/demand.js'
  103. ],
  104. 'newMenu/achievement': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  105. 'webpack/hot/only-dev-server',
  106. './src/js/newMenu/achievement.js'
  107. ],
  108. 'newMenu/achievementList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  109. 'webpack/hot/only-dev-server',
  110. './src/js/newMenu/achievementList.js'
  111. ],
  112. 'newMenu/demandList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  113. 'webpack/hot/only-dev-server',
  114. './src/js/newMenu/demandList.js'
  115. ],
  116. 'newMenu/services': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  117. 'webpack/hot/only-dev-server',
  118. './src/js/newMenu/services.js'
  119. ],
  120. 'newMenu/serviceList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  121. 'webpack/hot/only-dev-server',
  122. './src/js/newMenu/serviceList.js'
  123. ],
  124. 'newMenu/serviceDetails': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  125. 'webpack/hot/only-dev-server',
  126. './src/js/newMenu/serviceDetails.js'
  127. ],
  128. 'newMenu/shopList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  129. 'webpack/hot/only-dev-server',
  130. './src/js/newMenu/shopList.js'
  131. ],
  132. 'newMenu/patentList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  133. 'webpack/hot/only-dev-server',
  134. './src/js/newMenu/patentList.js'
  135. ],
  136. 'newMenu/tradingIndex': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  137. 'webpack/hot/only-dev-server',
  138. './src/js/newMenu/tradingIndex.js'
  139. ],
  140. 'newMenu/patent': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  141. 'webpack/hot/only-dev-server',
  142. './src/js/newMenu/patent.js'
  143. ],
  144. 'newMenu/companyProfile': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  145. 'webpack/hot/only-dev-server',
  146. './src/js/newMenu/companyProfile.js'
  147. ],
  148. 'newMenu/continueHigh': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  149. 'webpack/hot/only-dev-server',
  150. './src/js/newMenu/continueHigh.js'
  151. ],
  152. 'newMenu/practicalPatent': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  153. 'webpack/hot/only-dev-server',
  154. './src/js/newMenu/continueHigh.js'
  155. ],
  156. 'newMenu/militaryProject': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  157. 'webpack/hot/only-dev-server',
  158. './src/js/newMenu/continueHigh.js'
  159. ],
  160. 'newMenu/safeguarding': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  161. 'webpack/hot/only-dev-server',
  162. './src/js/newMenu/safeguarding.js'
  163. ],
  164. 'evaluation/evaluate': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  165. 'webpack/hot/only-dev-server',
  166. './src/js/newMenu/evaluate.js'
  167. ],
  168. 'newMenu/adviserList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  169. 'webpack/hot/only-dev-server',
  170. './src/js/newMenu/adviserList.js'
  171. ],
  172. 'newMenu/adviserDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  173. 'webpack/hot/only-dev-server',
  174. './src/js/newMenu/adviserDetail.js'
  175. ],
  176. 'newMenu/adviser': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  177. 'webpack/hot/only-dev-server',
  178. './src/js/newMenu/adviser.js'
  179. ],
  180. }
  181. };