entry.config.js 9.6 KB

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