entry.config.js 13 KB

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