entry.config.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. module.exports = {
  2. prod: {
  3. 'index': './src/js/newMenu/index.js',
  4. 'aboutUs': './src/js/aboutUs.js',
  5. 'APPaboutUs': './src/js/APPaboutUs.js',
  6. 'contactUs': './src/js/contactUs.js',
  7. 'toPayment': './src/js/toPayment.js',
  8. 'service': './src/js/service.js',
  9. 'register': './src/js/register.js',
  10. 'member': './src/js/member.js',
  11. 'technologyTrading': './src/js/technologyTrading.js',
  12. 'thinkTank': './src/js/thinkTank.js',
  13. 'financialIndex': './src/js/financialIndex.js',
  14. 'technologyTrading/achievement': './src/js/technologyTrading/achievement.js',
  15. 'technologyTrading/demand': './src/js/technologyTrading/demand.js',
  16. 'technologyTrading/achievementDetail': './src/js/technologyTrading/achievementDetail.js',
  17. 'technologyTrading/demandDetail': './src/js/technologyTrading/demandDetail.js',
  18. 'technologyTrading/assessMent': './src/js/technologyTrading/assessMent.js',
  19. 'technologyTrading/achievementOrder': './src/js/technologyTrading/achievementOrder.js',
  20. 'technologyTrading/demandOrder': './src/js/technologyTrading/demandOrder.js',
  21. 'thinkTank/policyDetail': './src/js/thinkTank/policyDetail.js',
  22. 'thinkTank/policyList': './src/js/thinkTank/policyList.js',
  23. 'thinkTank/thinkerDetail': './src/js/thinkTank/thinkerDetail.js',
  24. 'financial/investmentInstitution': './src/js/financial/investmentInstitution.js',
  25. 'financial/investmentDetail': './src/js/financial/investmentDetail.js',
  26. 'service/propertyRight': './src/js/service/propertyRight.js',
  27. 'service/projectDetails': './src/js/service/projectDetails.js',
  28. 'service/purpose': './src/js/service/purpose.js',
  29. 'service/highTechCognizance': './src/js/service/highTechCognizance.js',
  30. //newsApp
  31. 'news/newsDetailApp': './src/js/news/newsDetailApp.js',
  32. 'news/appCognizance': './src/js/news/appCognizance.js',
  33. 'news/agreement': './src/js/news/agreement.js',
  34. /* 2018-06 新版科技需求 */
  35. 'newMenu/demand': './src/js/newMenu/demand.js',
  36. 'newMenu/achievement': './src/js/newMenu/achievement.js',
  37. 'newMenu/achievementList': './src/js/newMenu/achievementList.js',
  38. 'newMenu/demandList': './src/js/newMenu/demandList.js',
  39. 'newMenu/services': './src/js/newMenu/services.js',
  40. 'newMenu/serviceList': './src/js/newMenu/serviceList.js',
  41. 'newMenu/serviceDetails': './src/js/newMenu/serviceDetails.js',
  42. 'newMenu/shopList': './src/js/newMenu/shopList.js',
  43. 'newMenu/patentList': './src/js/newMenu/patentList.js',
  44. 'newMenu/tradingIndex': './src/js/newMenu/tradingIndex.js',
  45. 'newMenu/patent': './src/js/newMenu/patent.js'
  46. },
  47. watch: {
  48. 'index': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  49. 'webpack/hot/only-dev-server',
  50. './src/js/newMenu/index.js'
  51. ],
  52. 'aboutUs': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  53. 'webpack/hot/only-dev-server',
  54. './src/js/aboutUs.js'
  55. ],
  56. 'APPaboutUs': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  57. 'webpack/hot/only-dev-server',
  58. './src/js/APPaboutUs.js'
  59. ],
  60. 'contactUs': ['webpack-dev-server/client?http://192.168.1.166',
  61. 'webpack/hot/only-dev-server',
  62. './src/js/contactUs.js'
  63. ],
  64. 'toPayment': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  65. 'webpack/hot/only-dev-server',
  66. './src/js/toPayment.js'
  67. ],
  68. 'service': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  69. 'webpack/hot/only-dev-server',
  70. './src/js/service.js'
  71. ],
  72. 'register': ['webpack-dev-server/client?http://192.168.1.166',
  73. 'webpack/hot/only-dev-server',
  74. './src/js/register.js'
  75. ],
  76. 'member': ['webpack-dev-server/client?http://192.168.1.166',
  77. 'webpack/hot/only-dev-server',
  78. './src/js/member.js'
  79. ],
  80. 'technologyTrading': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  81. 'webpack/hot/only-dev-server',
  82. './src/js/technologyTrading.js'
  83. ],
  84. 'thinkTank': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  85. 'webpack/hot/only-dev-server',
  86. './src/js/thinkTank.js'
  87. ],
  88. 'financialIndex': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  89. 'webpack/hot/only-dev-server',
  90. './src/js/financialIndex.js'
  91. ],
  92. 'technologyTrading/achievement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  93. 'webpack/hot/only-dev-server',
  94. './src/js/technologyTrading/achievement.js'
  95. ],
  96. 'technologyTrading/demand': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  97. 'webpack/hot/only-dev-server',
  98. './src/js/technologyTrading/demand.js'
  99. ],
  100. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  101. 'webpack/hot/only-dev-server',
  102. './src/js/technologyTrading/achievementDetail.js'
  103. ],
  104. 'technologyTrading/assessMent': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  105. 'webpack/hot/only-dev-server',
  106. './src/js/technologyTrading/assessMent.js'
  107. ],
  108. 'technologyTrading/achievementOrder': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  109. 'webpack/hot/only-dev-server',
  110. './src/js/technologyTrading/achievementOrder.js'
  111. ],
  112. 'technologyTrading/demandOrder': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  113. 'webpack/hot/only-dev-server',
  114. './src/js/technologyTrading/demandOrder.js'
  115. ],
  116. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  117. 'webpack/hot/only-dev-server',
  118. './src/js/technologyTrading/demandDetail.js'
  119. ],
  120. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  121. 'webpack/hot/only-dev-server',
  122. './src/js/thinkTank/policyDetail.js'
  123. ],
  124. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  125. 'webpack/hot/only-dev-server',
  126. './src/js/thinkTank/thinkerDetail.js'
  127. ],
  128. 'thinkTank/policyList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  129. 'webpack/hot/only-dev-server',
  130. './src/js/thinkTank/policyList.js'
  131. ],
  132. 'financial/investmentInstitution': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  133. 'webpack/hot/only-dev-server',
  134. './src/js/financial/investmentInstitution.js'
  135. ],
  136. 'financial/investmentDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  137. 'webpack/hot/only-dev-server',
  138. './src/js/financial/investmentDetail.js'
  139. ],
  140. 'service/highTechCognizance': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  141. 'webpack/hot/only-dev-server',
  142. './src/js/service/highTechCognizance.js'
  143. ],
  144. 'service/propertyRight': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  145. 'webpack/hot/only-dev-server',
  146. './src/js/service/propertyRight.js'
  147. ],
  148. 'service/projectDetails': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  149. 'webpack/hot/only-dev-server',
  150. './src/js/service/projectDetails.js'
  151. ],
  152. 'service/purpose': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  153. 'webpack/hot/only-dev-server',
  154. './src/js/service/purpose.js'
  155. ],
  156. // newsApp
  157. 'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  158. 'webpack/hot/only-dev-server',
  159. './src/js/news/newsDetailApp.js'
  160. ],
  161. 'news/appCognizance': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  162. 'webpack/hot/only-dev-server',
  163. './src/js/news/appCognizance.js'
  164. ],
  165. 'news/agreement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  166. 'webpack/hot/only-dev-server',
  167. './src/js/news/agreement.js'
  168. ],
  169. /* 2018-06 新版科技需求 */
  170. 'newMenu/demand': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  171. 'webpack/hot/only-dev-server',
  172. './src/js/newMenu/demand.js'
  173. ],
  174. 'newMenu/achievement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  175. 'webpack/hot/only-dev-server',
  176. './src/js/newMenu/achievement.js'
  177. ],
  178. 'newMenu/achievementList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  179. 'webpack/hot/only-dev-server',
  180. './src/js/newMenu/achievementList.js'
  181. ],
  182. 'newMenu/demandList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  183. 'webpack/hot/only-dev-server',
  184. './src/js/newMenu/demandList.js'
  185. ],
  186. 'newMenu/services': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  187. 'webpack/hot/only-dev-server',
  188. './src/js/newMenu/services.js'
  189. ],
  190. 'newMenu/serviceList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  191. 'webpack/hot/only-dev-server',
  192. './src/js/newMenu/serviceList.js'
  193. ],
  194. 'newMenu/serviceDetails': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  195. 'webpack/hot/only-dev-server',
  196. './src/js/newMenu/serviceDetails.js'
  197. ],
  198. 'newMenu/shopList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  199. 'webpack/hot/only-dev-server',
  200. './src/js/newMenu/shopList.js'
  201. ],
  202. 'newMenu/patentList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  203. 'webpack/hot/only-dev-server',
  204. './src/js/newMenu/patentList.js'
  205. ],
  206. 'newMenu/tradingIndex': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  207. 'webpack/hot/only-dev-server',
  208. './src/js/newMenu/tradingIndex.js'
  209. ],
  210. 'newMenu/patent': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  211. 'webpack/hot/only-dev-server',
  212. './src/js/newMenu/patent.js'
  213. ]
  214. }
  215. };