entry.config.js 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. },
  35. watch: {
  36. 'index': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  37. 'webpack/hot/only-dev-server',
  38. './src/js/index.js'
  39. ],
  40. 'aboutUs': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  41. 'webpack/hot/only-dev-server',
  42. './src/js/aboutUs.js'
  43. ],
  44. 'APPaboutUs': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  45. 'webpack/hot/only-dev-server',
  46. './src/js/APPaboutUs.js'
  47. ],
  48. 'contactUs': ['webpack-dev-server/client?http://127.0.0.1',
  49. 'webpack/hot/only-dev-server',
  50. './src/js/contactUs.js'
  51. ],
  52. 'toPayment': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  53. 'webpack/hot/only-dev-server',
  54. './src/js/toPayment.js'
  55. ],
  56. 'service': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  57. 'webpack/hot/only-dev-server',
  58. './src/js/service.js'
  59. ],
  60. 'register': ['webpack-dev-server/client?http://127.0.0.1',
  61. 'webpack/hot/only-dev-server',
  62. './src/js/register.js'
  63. ],
  64. 'member': ['webpack-dev-server/client?http://127.0.0.1',
  65. 'webpack/hot/only-dev-server',
  66. './src/js/member.js'
  67. ],
  68. 'technologyTrading': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  69. 'webpack/hot/only-dev-server',
  70. './src/js/technologyTrading.js'
  71. ],
  72. 'thinkTank': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  73. 'webpack/hot/only-dev-server',
  74. './src/js/thinkTank.js'
  75. ],
  76. 'financialIndex': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  77. 'webpack/hot/only-dev-server',
  78. './src/js/financialIndex.js'
  79. ],
  80. 'technologyTrading/achievement': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  81. 'webpack/hot/only-dev-server',
  82. './src/js/technologyTrading/achievement.js'
  83. ],
  84. 'technologyTrading/demand': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  85. 'webpack/hot/only-dev-server',
  86. './src/js/technologyTrading/demand.js'
  87. ],
  88. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  89. 'webpack/hot/only-dev-server',
  90. './src/js/technologyTrading/achievementDetail.js'
  91. ],
  92. 'technologyTrading/assessMent': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  93. 'webpack/hot/only-dev-server',
  94. './src/js/technologyTrading/assessMent.js'
  95. ],
  96. 'technologyTrading/achievementOrder': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  97. 'webpack/hot/only-dev-server',
  98. './src/js/technologyTrading/achievementOrder.js'
  99. ],
  100. 'technologyTrading/demandOrder': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  101. 'webpack/hot/only-dev-server',
  102. './src/js/technologyTrading/demandOrder.js'
  103. ],
  104. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  105. 'webpack/hot/only-dev-server',
  106. './src/js/technologyTrading/demandDetail.js'
  107. ],
  108. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  109. 'webpack/hot/only-dev-server',
  110. './src/js/thinkTank/policyDetail.js'
  111. ],
  112. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  113. 'webpack/hot/only-dev-server',
  114. './src/js/thinkTank/thinkerDetail.js'
  115. ],
  116. 'thinkTank/policyList': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  117. 'webpack/hot/only-dev-server',
  118. './src/js/thinkTank/policyList.js'
  119. ],
  120. 'financial/investmentInstitution': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  121. 'webpack/hot/only-dev-server',
  122. './src/js/financial/investmentInstitution.js'
  123. ],
  124. 'financial/investmentDetail': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  125. 'webpack/hot/only-dev-server',
  126. './src/js/financial/investmentDetail.js'
  127. ],
  128. 'service/highTechCognizance': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  129. 'webpack/hot/only-dev-server',
  130. './src/js/service/highTechCognizance.js'
  131. ],
  132. 'service/propertyRight': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  133. 'webpack/hot/only-dev-server',
  134. './src/js/service/propertyRight.js'
  135. ],
  136. 'service/projectDetails': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  137. 'webpack/hot/only-dev-server',
  138. './src/js/service/projectDetails.js'
  139. ],
  140. 'service/purpose': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  141. 'webpack/hot/only-dev-server',
  142. './src/js/service/purpose.js'
  143. ],
  144. // newsApp
  145. 'news/newsDetailApp': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  146. 'webpack/hot/only-dev-server',
  147. './src/js/news/newsDetailApp.js'
  148. ],
  149. 'news/appCognizance': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  150. 'webpack/hot/only-dev-server',
  151. './src/js/news/appCognizance.js'
  152. ],
  153. 'news/agreement': ['webpack-dev-server/client?http://127.0.0.1', // WebpackDevServer host and port
  154. 'webpack/hot/only-dev-server',
  155. './src/js/news/agreement.js'
  156. ]
  157. }
  158. };