entry.config.js 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. module.exports = {
  2. prod: {
  3. 'index': './src/js/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/achievementDetail': './src/js/newMenu/achievementDetail.js',
  38. 'newMenu/services': './src/js/newMenu/services.js',
  39. 'newMenu/serviceList': './src/js/newMenu/serviceList.js',
  40. 'newMenu/serviceDetails': './src/js/newMenu/serviceDetails.js'
  41. },
  42. watch: {
  43. 'index': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  44. 'webpack/hot/only-dev-server',
  45. './src/js/index.js'
  46. ],
  47. 'aboutUs': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  48. 'webpack/hot/only-dev-server',
  49. './src/js/aboutUs.js'
  50. ],
  51. 'APPaboutUs': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  52. 'webpack/hot/only-dev-server',
  53. './src/js/APPaboutUs.js'
  54. ],
  55. 'contactUs': ['webpack-dev-server/client?http://192.168.1.166',
  56. 'webpack/hot/only-dev-server',
  57. './src/js/contactUs.js'
  58. ],
  59. 'toPayment': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  60. 'webpack/hot/only-dev-server',
  61. './src/js/toPayment.js'
  62. ],
  63. 'service': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  64. 'webpack/hot/only-dev-server',
  65. './src/js/service.js'
  66. ],
  67. 'register': ['webpack-dev-server/client?http://192.168.1.166',
  68. 'webpack/hot/only-dev-server',
  69. './src/js/register.js'
  70. ],
  71. 'member': ['webpack-dev-server/client?http://192.168.1.166',
  72. 'webpack/hot/only-dev-server',
  73. './src/js/member.js'
  74. ],
  75. 'technologyTrading': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  76. 'webpack/hot/only-dev-server',
  77. './src/js/technologyTrading.js'
  78. ],
  79. 'thinkTank': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  80. 'webpack/hot/only-dev-server',
  81. './src/js/thinkTank.js'
  82. ],
  83. 'financialIndex': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  84. 'webpack/hot/only-dev-server',
  85. './src/js/financialIndex.js'
  86. ],
  87. 'technologyTrading/achievement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  88. 'webpack/hot/only-dev-server',
  89. './src/js/technologyTrading/achievement.js'
  90. ],
  91. 'technologyTrading/demand': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  92. 'webpack/hot/only-dev-server',
  93. './src/js/technologyTrading/demand.js'
  94. ],
  95. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  96. 'webpack/hot/only-dev-server',
  97. './src/js/technologyTrading/achievementDetail.js'
  98. ],
  99. 'technologyTrading/assessMent': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  100. 'webpack/hot/only-dev-server',
  101. './src/js/technologyTrading/assessMent.js'
  102. ],
  103. 'technologyTrading/achievementOrder': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  104. 'webpack/hot/only-dev-server',
  105. './src/js/technologyTrading/achievementOrder.js'
  106. ],
  107. 'technologyTrading/demandOrder': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  108. 'webpack/hot/only-dev-server',
  109. './src/js/technologyTrading/demandOrder.js'
  110. ],
  111. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  112. 'webpack/hot/only-dev-server',
  113. './src/js/technologyTrading/demandDetail.js'
  114. ],
  115. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  116. 'webpack/hot/only-dev-server',
  117. './src/js/thinkTank/policyDetail.js'
  118. ],
  119. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  120. 'webpack/hot/only-dev-server',
  121. './src/js/thinkTank/thinkerDetail.js'
  122. ],
  123. 'thinkTank/policyList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  124. 'webpack/hot/only-dev-server',
  125. './src/js/thinkTank/policyList.js'
  126. ],
  127. 'financial/investmentInstitution': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  128. 'webpack/hot/only-dev-server',
  129. './src/js/financial/investmentInstitution.js'
  130. ],
  131. 'financial/investmentDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  132. 'webpack/hot/only-dev-server',
  133. './src/js/financial/investmentDetail.js'
  134. ],
  135. 'service/highTechCognizance': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  136. 'webpack/hot/only-dev-server',
  137. './src/js/service/highTechCognizance.js'
  138. ],
  139. 'service/propertyRight': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  140. 'webpack/hot/only-dev-server',
  141. './src/js/service/propertyRight.js'
  142. ],
  143. 'service/projectDetails': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  144. 'webpack/hot/only-dev-server',
  145. './src/js/service/projectDetails.js'
  146. ],
  147. 'service/purpose': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  148. 'webpack/hot/only-dev-server',
  149. './src/js/service/purpose.js'
  150. ],
  151. // newsApp
  152. 'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  153. 'webpack/hot/only-dev-server',
  154. './src/js/news/newsDetailApp.js'
  155. ],
  156. 'news/appCognizance': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  157. 'webpack/hot/only-dev-server',
  158. './src/js/news/appCognizance.js'
  159. ],
  160. 'news/agreement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  161. 'webpack/hot/only-dev-server',
  162. './src/js/news/agreement.js'
  163. ],
  164. /* 2018-06 新版科技需求 */
  165. 'newMenu/demand': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  166. 'webpack/hot/only-dev-server',
  167. './src/js/newMenu/demand.js'
  168. ],
  169. 'newMenu/achievement': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  170. 'webpack/hot/only-dev-server',
  171. './src/js/newMenu/achievement.js'
  172. ],
  173. 'newMenu/achievementDetail': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  174. 'webpack/hot/only-dev-server',
  175. './src/js/newMenu/achievementDetail.js'
  176. ],
  177. 'newMenu/services': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  178. 'webpack/hot/only-dev-server',
  179. './src/js/newMenu/services.js'
  180. ],
  181. 'newMenu/serviceList': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  182. 'webpack/hot/only-dev-server',
  183. './src/js/newMenu/serviceList.js'
  184. ],
  185. 'newMenu/serviceDetails': ['webpack-dev-server/client?http://192.168.1.166', // WebpackDevServer host and port
  186. 'webpack/hot/only-dev-server',
  187. './src/js/newMenu/serviceDetails.js'
  188. ],
  189. }
  190. };