entry.config.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. module.exports = {
  2. <<<<<<< HEAD
  3. prod: {
  4. 'index': './src/js/index.js',
  5. 'service': './src/js/service.js',
  6. 'register': './src/js/register.js',
  7. 'technologyTrading': './src/js/technologyTrading.js',
  8. 'thinkTank': './src/js/thinkTank.js',
  9. 'technologyFinancial': './src/js/technologyFinancial.js',
  10. 'technologyTrading/achievement': './src/js/technologyTrading/achievement.js',
  11. 'technologyTrading/demand': './src/js/technologyTrading/demand.js',
  12. },
  13. watch: {
  14. 'index': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  15. 'webpack/hot/only-dev-server',
  16. './src/js/index.js'
  17. ],
  18. 'service': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  19. 'webpack/hot/only-dev-server',
  20. './src/js/service.js'
  21. ],
  22. 'register': ['webpack-dev-server/client?http://127.0.0.1:80',
  23. 'webpack/hot/only-dev-server',
  24. './src/js/register.js'
  25. ],
  26. 'technologyTrading': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  27. 'webpack/hot/only-dev-server',
  28. './src/js/technologyTrading.js'
  29. ],
  30. 'thinkTank': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  31. 'webpack/hot/only-dev-server',
  32. './src/js/thinkTank.js'
  33. ],
  34. 'technologyFinancial': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  35. 'webpack/hot/only-dev-server',
  36. './src/js/technologyFinancial.js'
  37. ],
  38. 'technologyTrading/achievement': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  39. 'webpack/hot/only-dev-server',
  40. './src/js/technologyTrading/achievement.js'
  41. ],
  42. 'technologyTrading/demand': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  43. 'webpack/hot/only-dev-server',
  44. './src/js/technologyTrading/demand.js'
  45. ],
  46. }
  47. }
  48. =======
  49. prod: {
  50. 'index': './src/js/index.js',
  51. 'service': './src/js/service.js',
  52. 'register': './src/js/register.js',
  53. 'technologyTrading': './src/js/technologyTrading.js',
  54. 'thinktank': './src/js/thinktank.js',
  55. 'financialIndex': './src/js/financialIndex.js',
  56. 'technologyTrading/achievement': './src/js/technologyTrading/achievement.js',
  57. 'technologyTrading/demand': './src/js/technologyTrading/demand.js',
  58. 'technologyTrading/achievementDetail': './src/js/technologyTrading/achievementDetail.js',
  59. 'technologyTrading/demandDetail': './src/js/technologyTrading/demandDetail.js',
  60. 'thinkTank/policy': './src/js/thinkTank/policy.js',
  61. 'thinkTank/policyDetail': './src/js/thinkTank/policyDetail.js',
  62. 'thinkTank/thinkerDetail': './src/js/thinkTank/thinkerDetail.js'
  63. },
  64. watch: {
  65. 'index': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  66. 'webpack/hot/only-dev-server',
  67. './src/js/index.js'
  68. ],
  69. 'service': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  70. 'webpack/hot/only-dev-server',
  71. './src/js/service.js'
  72. ],
  73. 'register': ['webpack-dev-server/client?http://127.0.0.1:80',
  74. 'webpack/hot/only-dev-server',
  75. './src/js/register.js'
  76. ],
  77. 'technologyTrading': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  78. 'webpack/hot/only-dev-server',
  79. './src/js/technologyTrading.js'
  80. ],
  81. 'thinktank': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  82. 'webpack/hot/only-dev-server',
  83. './src/js/thinktank.js'
  84. ],
  85. 'financialIndex': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  86. 'webpack/hot/only-dev-server',
  87. './src/js/financialIndex.js'
  88. ],
  89. 'technologyTrading/achievement': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  90. 'webpack/hot/only-dev-server',
  91. './src/js/technologyTrading/achievement.js'
  92. ],
  93. 'technologyTrading/demand': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  94. 'webpack/hot/only-dev-server',
  95. './src/js/technologyTrading/demand.js'
  96. ],
  97. 'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  98. 'webpack/hot/only-dev-server',
  99. './src/js/technologyTrading/achievementDetail.js'
  100. ],
  101. 'technologyTrading/demandDetail': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  102. 'webpack/hot/only-dev-server',
  103. './src/js/technologyTrading/demandDetail.js'
  104. ],
  105. 'thinkTank/policy': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  106. 'webpack/hot/only-dev-server',
  107. './src/js/thinkTank/policy.js'
  108. ],
  109. 'thinkTank/policyDetail': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  110. 'webpack/hot/only-dev-server',
  111. './src/js/thinkTank/policyDetail.js'
  112. ],
  113. 'thinkTank/thinkerDetail': ['webpack-dev-server/client?http://127.0.0.1:80', // WebpackDevServer host and port
  114. 'webpack/hot/only-dev-server',
  115. './src/js/thinkTank/thinkerDetail.js'
  116. ]
  117. }
  118. };
  119. >>>>>>> 4ace6e92cdaa32f477668bc26ce75518a81d55d6