entry.config.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. 'newMenu/safeguardingList': './src/js/newMenu/safeguardingList.js',
  41. 'newMenu/safeguardingDetail': './src/js/newMenu/safeguardingDetail.js',
  42. 'newMenu/brandBuild': './src/js/newMenu/loading/brandBuild.js',
  43. 'newMenu/marketOpen': './src/js/newMenu/loading/marketOpen.js',
  44. 'newMenu/taxFinance': './src/js/newMenu/loading/taxFinance.js',
  45. 'newMenu/governmentSupport': './src/js/newMenu/loading/governmentSupport.js',
  46. 'newMenu/assessment': './src/js/newMenu/loading/assessment.js',
  47. 'newMenu/Invitation': './src/js/newMenu/loading/Invitation.js',
  48. 'newMenu/invRegister': './src/js/newMenu/loading/invRegister.js',
  49. 'newMenu/video': './src/js/video.js',
  50. 'newMenu/videoDetail': './src/js/videoDetail.js',
  51. 'facilitator': './src/js/facilitator/facilitator.js',
  52. },
  53. watch: {
  54. 'index': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  55. 'webpack/hot/only-dev-server',
  56. './src/js/newMenu/index.js'
  57. ],
  58. 'search': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  59. 'webpack/hot/only-dev-server',
  60. './src/js/search.js'
  61. ],
  62. 'aboutUs': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  63. 'webpack/hot/only-dev-server',
  64. './src/js/aboutUs.js'
  65. ],
  66. 'contactUs': ['webpack-dev-server/client?http://192.168.0.188',
  67. 'webpack/hot/only-dev-server',
  68. './src/js/contactUs.js'
  69. ],
  70. 'register': ['webpack-dev-server/client?http://192.168.0.188',
  71. 'webpack/hot/only-dev-server',
  72. './src/js/register.js'
  73. ],
  74. 'thinkTank': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  75. 'webpack/hot/only-dev-server',
  76. './src/js/thinkTank.js'
  77. ],
  78. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  79. 'webpack/hot/only-dev-server',
  80. './src/js/technologyTrading/achievementDetail.js'
  81. ],
  82. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  83. 'webpack/hot/only-dev-server',
  84. './src/js/technologyTrading/demandDetail.js'
  85. ],
  86. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  87. 'webpack/hot/only-dev-server',
  88. './src/js/thinkTank/policyDetail.js'
  89. ],
  90. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  91. 'webpack/hot/only-dev-server',
  92. './src/js/thinkTank/thinkerDetail.js'
  93. ],
  94. 'thinkTank/policyList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  95. 'webpack/hot/only-dev-server',
  96. './src/js/thinkTank/policyList.js'
  97. ],
  98. // newsApp
  99. 'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  100. 'webpack/hot/only-dev-server',
  101. './src/js/news/newsDetailApp.js'
  102. ],
  103. 'news/appCognizance': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  104. 'webpack/hot/only-dev-server',
  105. './src/js/news/appCognizance.js'
  106. ],
  107. 'news/agreement': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  108. 'webpack/hot/only-dev-server',
  109. './src/js/news/agreement.js'
  110. ],
  111. /* 2018-06 新版科技需求 */
  112. 'newMenu/demand': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  113. 'webpack/hot/only-dev-server',
  114. './src/js/newMenu/demand.js'
  115. ],
  116. 'newMenu/achievement': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  117. 'webpack/hot/only-dev-server',
  118. './src/js/newMenu/achievement.js'
  119. ],
  120. 'newMenu/achievementList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  121. 'webpack/hot/only-dev-server',
  122. './src/js/newMenu/achievementList.js'
  123. ],
  124. 'newMenu/demandList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  125. 'webpack/hot/only-dev-server',
  126. './src/js/newMenu/demandList.js'
  127. ],
  128. 'newMenu/services': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  129. 'webpack/hot/only-dev-server',
  130. './src/js/newMenu/services.js'
  131. ],
  132. 'newMenu/serviceList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  133. 'webpack/hot/only-dev-server',
  134. './src/js/newMenu/serviceList.js'
  135. ],
  136. 'newMenu/serviceDetails': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  137. 'webpack/hot/only-dev-server',
  138. './src/js/newMenu/serviceDetails.js'
  139. ],
  140. 'newMenu/shopList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  141. 'webpack/hot/only-dev-server',
  142. './src/js/newMenu/shopList.js'
  143. ],
  144. 'newMenu/patentList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  145. 'webpack/hot/only-dev-server',
  146. './src/js/newMenu/patentList.js'
  147. ],
  148. 'newMenu/tradingIndex': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  149. 'webpack/hot/only-dev-server',
  150. './src/js/newMenu/tradingIndex.js'
  151. ],
  152. 'newMenu/patent': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  153. 'webpack/hot/only-dev-server',
  154. './src/js/newMenu/patent.js'
  155. ],
  156. 'newMenu/companyProfile': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  157. 'webpack/hot/only-dev-server',
  158. './src/js/newMenu/companyProfile.js'
  159. ],
  160. 'newMenu/continueHigh': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  161. 'webpack/hot/only-dev-server',
  162. './src/js/newMenu/continueHigh.js'
  163. ],
  164. 'newMenu/practicalPatent': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  165. 'webpack/hot/only-dev-server',
  166. './src/js/newMenu/continueHigh.js'
  167. ],
  168. 'newMenu/militaryProject': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  169. 'webpack/hot/only-dev-server',
  170. './src/js/newMenu/continueHigh.js'
  171. ],
  172. 'newMenu/safeguarding': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  173. 'webpack/hot/only-dev-server',
  174. './src/js/newMenu/safeguarding.js'
  175. ],
  176. 'evaluation/evaluate': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  177. 'webpack/hot/only-dev-server',
  178. './src/js/newMenu/evaluate.js'
  179. ],
  180. 'newMenu/adviserList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  181. 'webpack/hot/only-dev-server',
  182. './src/js/newMenu/adviserList.js'
  183. ],
  184. 'newMenu/adviserDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  185. 'webpack/hot/only-dev-server',
  186. './src/js/newMenu/adviserDetail.js'
  187. ],
  188. 'newMenu/adviser': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  189. 'webpack/hot/only-dev-server',
  190. './src/js/newMenu/adviser.js'
  191. ],
  192. 'newMenu/safeguardingList': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  193. 'webpack/hot/only-dev-server',
  194. './src/js/newMenu/safeguardingList.js'
  195. ],
  196. 'newMenu/safeguardingDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  197. 'webpack/hot/only-dev-server',
  198. './src/js/newMenu/safeguardingDetail.js'
  199. ],
  200. 'newMenu/brandBuild': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  201. 'webpack/hot/only-dev-server',
  202. './src/js/newMenu/loading/brandBuild.js'
  203. ],
  204. 'newMenu/marketOpen': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  205. 'webpack/hot/only-dev-server',
  206. './src/js/newMenu/loading/marketOpen.js'
  207. ],
  208. 'newMenu/taxFinance': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  209. 'webpack/hot/only-dev-server',
  210. './src/js/newMenu/loading/taxFinance.js'
  211. ],
  212. 'newMenu/governmentSupport': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  213. 'webpack/hot/only-dev-server',
  214. './src/js/newMenu/loading/governmentSupport.js'
  215. ],
  216. 'newMenu/assessment': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  217. 'webpack/hot/only-dev-server',
  218. './src/js/newMenu/loading/assessment.js'
  219. ],
  220. 'newMenu/Invitation': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  221. 'webpack/hot/only-dev-server',
  222. './src/js/newMenu/loading/Invitation.js'
  223. ],
  224. 'newMenu/invRegister': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  225. 'webpack/hot/only-dev-server',
  226. './src/js/newMenu/loading/invRegister.js'
  227. ],
  228. 'newMenu/video': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  229. 'webpack/hot/only-dev-server',
  230. './src/js/video.js'
  231. ],
  232. 'newMenu/videoDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  233. 'webpack/hot/only-dev-server',
  234. './src/js/videoDetail.js'
  235. ],
  236. 'facilitator': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
  237. 'webpack/hot/only-dev-server',
  238. './src/js/facilitator/facilitator.js'
  239. ],
  240. }
  241. };