entry.config.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. // 'APPaboutUs': './src/js/APPaboutUs.js',
  7. 'contactUs': './src/js/contactUs.js',
  8. // 'toPayment': './src/js/toPayment.js',
  9. // 'service': './src/js/service.js',
  10. 'register': './src/js/register.js',
  11. // 'member': './src/js/member.js',
  12. // 'technologyTrading': './src/js/technologyTrading.js',
  13. 'thinkTank': './src/js/thinkTank.js',
  14. // 'financialIndex': './src/js/financialIndex.js',
  15. // 'technologyTrading/achievement': './src/js/technologyTrading/achievement.js',
  16. // 'technologyTrading/demand': './src/js/technologyTrading/demand.js',
  17. 'technologyTrading/achievementDetail': './src/js/technologyTrading/achievementDetail.js',
  18. 'technologyTrading/demandDetail': './src/js/technologyTrading/demandDetail.js',
  19. // 'technologyTrading/assessMent': './src/js/technologyTrading/assessMent.js',
  20. // 'technologyTrading/achievementOrder': './src/js/technologyTrading/achievementOrder.js',
  21. // 'technologyTrading/demandOrder': './src/js/technologyTrading/demandOrder.js',
  22. 'thinkTank/policyDetail': './src/js/thinkTank/policyDetail.js',
  23. 'thinkTank/policyList': './src/js/thinkTank/policyList.js',
  24. 'thinkTank/thinkerDetail': './src/js/thinkTank/thinkerDetail.js',
  25. // 'financial/investmentInstitution': './src/js/financial/investmentInstitution.js',
  26. // 'financial/investmentDetail': './src/js/financial/investmentDetail.js',
  27. // 'service/propertyRight': './src/js/service/propertyRight.js',
  28. // 'service/projectDetails': './src/js/service/projectDetails.js',
  29. // 'service/purpose': './src/js/service/purpose.js',
  30. // 'service/highTechCognizance': './src/js/service/highTechCognizance.js',
  31. //newsApp
  32. 'news/newsDetailApp': './src/js/news/newsDetailApp.js',
  33. 'news/appCognizance': './src/js/news/appCognizance.js',
  34. 'news/agreement': './src/js/news/agreement.js',
  35. /* 2018-06 新版科技需求 */
  36. 'newMenu/demand': './src/js/newMenu/demand.js',
  37. 'newMenu/achievement': './src/js/newMenu/achievement.js',
  38. 'newMenu/achievementList': './src/js/newMenu/achievementList.js',
  39. 'newMenu/demandList': './src/js/newMenu/demandList.js',
  40. 'newMenu/services': './src/js/newMenu/services.js',
  41. 'newMenu/serviceList': './src/js/newMenu/serviceList.js',
  42. 'newMenu/serviceDetails': './src/js/newMenu/serviceDetails.js',
  43. 'newMenu/shopList': './src/js/newMenu/shopList.js',
  44. 'newMenu/patentList': './src/js/newMenu/patentList.js',
  45. 'newMenu/tradingIndex': './src/js/newMenu/tradingIndex.js',
  46. 'newMenu/patent': './src/js/newMenu/patent.js',
  47. 'newMenu/companyProfile': './src/js/newMenu/companyProfile.js',
  48. 'newMenu/continueHigh': './src/js/newMenu/continueHigh.js',
  49. 'newMenu/practicalPatent': './src/js/newMenu/continueHigh.js',
  50. 'newMenu/militaryProject': './src/js/newMenu/continueHigh.js',
  51. // 'newMenu/continueHighApp': './src/js/newMenu/continueHighApp.js',
  52. // 'newMenu/militaryProjectApp': './src/js/newMenu/continueHighApp.js',
  53. // 'newMenu/practicalPatentApp': './src/js/newMenu/continueHighApp.js',
  54. 'newMenu/safeguarding': './src/js/newMenu/safeguarding.js',
  55. //app
  56. // 'newMenu/app/assessment': './src/js/newMenu/app/assessment.js',
  57. // 'newMenu/app/trusteeship': './src/js/newMenu/app/trusteeship.js',
  58. // 'newMenu/app/safeguardApp': './src/js/newMenu/app/safeguardApp.js'
  59. },
  60. watch: {
  61. 'index': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  62. 'webpack/hot/only-dev-server',
  63. './src/js/newMenu/index.js'
  64. ],
  65. 'search': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  66. 'webpack/hot/only-dev-server',
  67. './src/js/search.js'
  68. ],
  69. 'aboutUs': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  70. 'webpack/hot/only-dev-server',
  71. './src/js/aboutUs.js'
  72. ],
  73. // 'APPaboutUs': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  74. // 'webpack/hot/only-dev-server',
  75. // './src/js/APPaboutUs.js'
  76. // ],
  77. 'contactUs': ['webpack-dev-server/client?http://192.168.0.190',
  78. 'webpack/hot/only-dev-server',
  79. './src/js/contactUs.js'
  80. ],
  81. // 'toPayment': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  82. // 'webpack/hot/only-dev-server',
  83. // './src/js/toPayment.js'
  84. // ],
  85. // 'service': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  86. // 'webpack/hot/only-dev-server',
  87. // './src/js/service.js'
  88. // ],
  89. 'register': ['webpack-dev-server/client?http://192.168.0.190',
  90. 'webpack/hot/only-dev-server',
  91. './src/js/register.js'
  92. ],
  93. // 'member': ['webpack-dev-server/client?http://192.168.0.190',
  94. // 'webpack/hot/only-dev-server',
  95. // './src/js/member.js'
  96. // ],
  97. // 'technologyTrading': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  98. // 'webpack/hot/only-dev-server',
  99. // './src/js/technologyTrading.js'
  100. // ],
  101. 'thinkTank': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  102. 'webpack/hot/only-dev-server',
  103. './src/js/thinkTank.js'
  104. ],
  105. // 'financialIndex': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  106. // 'webpack/hot/only-dev-server',
  107. // './src/js/financialIndex.js'
  108. // ],
  109. // 'technologyTrading/achievement': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  110. // 'webpack/hot/only-dev-server',
  111. // './src/js/technologyTrading/achievement.js'
  112. // ],
  113. // 'technologyTrading/demand': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  114. // 'webpack/hot/only-dev-server',
  115. // './src/js/technologyTrading/demand.js'
  116. // ],
  117. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  118. 'webpack/hot/only-dev-server',
  119. './src/js/technologyTrading/achievementDetail.js'
  120. ],
  121. // 'technologyTrading/assessMent': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  122. // 'webpack/hot/only-dev-server',
  123. // './src/js/technologyTrading/assessMent.js'
  124. // ],
  125. // 'technologyTrading/achievementOrder': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  126. // 'webpack/hot/only-dev-server',
  127. // './src/js/technologyTrading/achievementOrder.js'
  128. // ],
  129. // 'technologyTrading/demandOrder': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  130. // 'webpack/hot/only-dev-server',
  131. // './src/js/technologyTrading/demandOrder.js'
  132. // ],
  133. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  134. 'webpack/hot/only-dev-server',
  135. './src/js/technologyTrading/demandDetail.js'
  136. ],
  137. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  138. 'webpack/hot/only-dev-server',
  139. './src/js/thinkTank/policyDetail.js'
  140. ],
  141. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  142. 'webpack/hot/only-dev-server',
  143. './src/js/thinkTank/thinkerDetail.js'
  144. ],
  145. 'thinkTank/policyList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  146. 'webpack/hot/only-dev-server',
  147. './src/js/thinkTank/policyList.js'
  148. ],
  149. // 'financial/investmentInstitution': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  150. // 'webpack/hot/only-dev-server',
  151. // './src/js/financial/investmentInstitution.js'
  152. // ],
  153. // 'financial/investmentDetail': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  154. // 'webpack/hot/only-dev-server',
  155. // './src/js/financial/investmentDetail.js'
  156. // ],
  157. // 'service/highTechCognizance': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  158. // 'webpack/hot/only-dev-server',
  159. // './src/js/service/highTechCognizance.js'
  160. // ],
  161. // 'service/propertyRight': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  162. // 'webpack/hot/only-dev-server',
  163. // './src/js/service/propertyRight.js'
  164. // ],
  165. // 'service/projectDetails': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  166. // 'webpack/hot/only-dev-server',
  167. // './src/js/service/projectDetails.js'
  168. // ],
  169. // 'service/purpose': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  170. // 'webpack/hot/only-dev-server',
  171. // './src/js/service/purpose.js'
  172. // ],
  173. // newsApp
  174. 'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  175. 'webpack/hot/only-dev-server',
  176. './src/js/news/newsDetailApp.js'
  177. ],
  178. 'news/appCognizance': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  179. 'webpack/hot/only-dev-server',
  180. './src/js/news/appCognizance.js'
  181. ],
  182. 'news/agreement': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  183. 'webpack/hot/only-dev-server',
  184. './src/js/news/agreement.js'
  185. ],
  186. /* 2018-06 新版科技需求 */
  187. 'newMenu/demand': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  188. 'webpack/hot/only-dev-server',
  189. './src/js/newMenu/demand.js'
  190. ],
  191. 'newMenu/achievement': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  192. 'webpack/hot/only-dev-server',
  193. './src/js/newMenu/achievement.js'
  194. ],
  195. 'newMenu/achievementList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  196. 'webpack/hot/only-dev-server',
  197. './src/js/newMenu/achievementList.js'
  198. ],
  199. 'newMenu/demandList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  200. 'webpack/hot/only-dev-server',
  201. './src/js/newMenu/demandList.js'
  202. ],
  203. 'newMenu/services': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  204. 'webpack/hot/only-dev-server',
  205. './src/js/newMenu/services.js'
  206. ],
  207. 'newMenu/serviceList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  208. 'webpack/hot/only-dev-server',
  209. './src/js/newMenu/serviceList.js'
  210. ],
  211. 'newMenu/serviceDetails': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  212. 'webpack/hot/only-dev-server',
  213. './src/js/newMenu/serviceDetails.js'
  214. ],
  215. 'newMenu/shopList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  216. 'webpack/hot/only-dev-server',
  217. './src/js/newMenu/shopList.js'
  218. ],
  219. 'newMenu/patentList': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  220. 'webpack/hot/only-dev-server',
  221. './src/js/newMenu/patentList.js'
  222. ],
  223. 'newMenu/tradingIndex': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  224. 'webpack/hot/only-dev-server',
  225. './src/js/newMenu/tradingIndex.js'
  226. ],
  227. 'newMenu/patent': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  228. 'webpack/hot/only-dev-server',
  229. './src/js/newMenu/patent.js'
  230. ],
  231. 'newMenu/companyProfile': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  232. 'webpack/hot/only-dev-server',
  233. './src/js/newMenu/companyProfile.js'
  234. ],
  235. 'newMenu/continueHigh': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  236. 'webpack/hot/only-dev-server',
  237. './src/js/newMenu/continueHigh.js'
  238. ],
  239. 'newMenu/practicalPatent': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  240. 'webpack/hot/only-dev-server',
  241. './src/js/newMenu/continueHigh.js'
  242. ],
  243. 'newMenu/militaryProject': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  244. 'webpack/hot/only-dev-server',
  245. './src/js/newMenu/continueHigh.js'
  246. ],
  247. // 'newMenu/continueHighApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  248. // 'webpack/hot/only-dev-server',
  249. // './src/js/newMenu/continueHighApp.js'
  250. // ],
  251. // 'newMenu/militaryProjectApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  252. // 'webpack/hot/only-dev-server',
  253. // './src/js/newMenu/continueHighApp.js'
  254. // ],
  255. // 'newMenu/practicalPatentApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  256. // 'webpack/hot/only-dev-server',
  257. // './src/js/newMenu/continueHighApp.js'
  258. // ],
  259. 'newMenu/safeguarding': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  260. 'webpack/hot/only-dev-server',
  261. './src/js/newMenu/safeguarding.js'
  262. ],
  263. // 'newMenu/app/assessment': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  264. // 'webpack/hot/only-dev-server',
  265. // './src/js/newMenu/app/assessment.js'
  266. // ],
  267. // 'newMenu/app/trusteeship': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  268. // 'webpack/hot/only-dev-server',
  269. // './src/js/newMenu/app/trusteeship.js'
  270. // ],
  271. // 'newMenu/app/safeguardApp': ['webpack-dev-server/client?http://192.168.0.190', // WebpackDevServer host and port
  272. // 'webpack/hot/only-dev-server',
  273. // './src/js/newMenu/app/safeguardApp.js'
  274. // ]
  275. }
  276. };