项目原始demo,不改动
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. Change History
  2. ==============
  3. v2.30.1
  4. ---
  5. * Revert part the performance optimization (#723) because of #753.
  6. v2.30.0
  7. ---
  8. * Add manual sort
  9. * Performance improvements (#723)
  10. v2.29.0
  11. ---
  12. * Add support for Webpack 3
  13. v2.28.0
  14. ---
  15. * Backport 3.x void tag for plugin authors
  16. v2.27.1
  17. ---
  18. * Revert 2.25.0 loader resolving
  19. v2.27.0
  20. ---
  21. * Fix a chunksorter webpack 2 issue (#569)
  22. * Fix template path resolving(#542)
  23. v2.26.0
  24. ---
  25. * Allow plugins to add attributes without values to the `<script>` and `<link>` tags
  26. v2.25.0
  27. ---
  28. * Clearer loader output
  29. * Add basic support for webpack 2
  30. v2.24.1
  31. ---
  32. * Hide event deprecated warning of 'applyPluginsAsyncWaterfall' for html-webpack-plugin-after-emit and improve the warning message.
  33. v2.24.0
  34. ---
  35. * Update dependencies
  36. * Add deprecate warning for plugins not returning a result
  37. * Add [path] for favicons
  38. v2.23.0
  39. ---
  40. * Update dependencies
  41. * Stop automated tests for webpack 2 beta because of #401
  42. v2.22.0
  43. ---
  44. * Update dependencies
  45. v2.21.1
  46. ---
  47. * Better error handling (#354)
  48. v2.21.0
  49. ----
  50. * Add `html-webpack-plugin-alter-asset-tags` event to allow plugins to adjust the script/link tags
  51. v2.20.0
  52. ----
  53. * Exclude chunks works now even if combined with dependency sort
  54. v2.19.0
  55. ----
  56. * Add `html-webpack-plugin-alter-chunks` event for custom chunk sorting and interpolation
  57. v2.18.0
  58. ----
  59. * Updated all dependencies
  60. v2.17.0
  61. ----
  62. * Add `type` attribute to `script` element to prevent issues in Safari 9.1.1
  63. v2.16.2
  64. ----
  65. * Fix bug introduced by 2.16.2. Fixes #315
  66. v2.16.1
  67. ----
  68. * Fix hot module replacement for webpack 2.x
  69. v2.16.0
  70. ----
  71. * Add support for dynamic filenames like index[hash].html
  72. v2.15.0
  73. ----
  74. * Add full unit test coverage for the webpack 2 beta version
  75. * For webpack 2 the default sort will be 'dependency' instead of 'id'
  76. * Upgrade dependencies
  77. v2.14.0
  78. ----
  79. * Export publicPath to the template
  80. * Add example for inlining css and js
  81. v2.13.0
  82. ----
  83. * Add support for absolute output file names
  84. * Add support for relative file names outside the output path
  85. v2.12.0
  86. ----
  87. * Basic Webpack 2.x support #225
  88. v2.11.0
  89. ----
  90. * Add `xhtml` option which is turned of by default. When activated it will inject self closed `<link href=".." />` tags instead of unclosed `<link href="..">` tags. https://github.com/ampedandwired/html-webpack-plugin/pull/255
  91. * Add support for webpack placeholders inside the public path e.g. `'/dist/[hash]/'`. https://github.com/ampedandwired/html-webpack-plugin/pull/249
  92. v2.10.0
  93. ----
  94. * Add `hash` field to the chunk object
  95. * Add `compilation` field to the templateParam object (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/237)
  96. * Add `html-webpack-plugin-before-html-generation` event
  97. * Improve error messages
  98. v2.9.0
  99. ----
  100. * Fix favicon path (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/185, https://github.com/ampedandwired/html-webpack-plugin/issues/208, https://github.com/ampedandwired/html-webpack-plugin/pull/215 )
  101. v2.8.2
  102. ----
  103. * Support relative URLs on Windows (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/205 )
  104. v2.8.1
  105. ----
  106. * Caching improvements (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/204 )
  107. v2.8.0
  108. ----
  109. * Add `dependency` mode for `chunksSortMode` to sort chunks based on their dependencies with each other
  110. v2.7.2
  111. ----
  112. * Add support for require in js templates
  113. v2.7.1
  114. ----
  115. * Refactoring
  116. * Fix relative windows path
  117. v2.6.5
  118. ----
  119. * Minor refactoring
  120. v2.6.4
  121. ----
  122. * Fix for `"Uncaught TypeError: __webpack_require__(...) is not a function"`
  123. * Fix incomplete cache modules causing "HtmlWebpackPlugin Error: No source available"
  124. * Fix some issues on Windows
  125. v2.6.3
  126. ----
  127. * Prevent parsing the base template with the html-loader
  128. v2.6.2
  129. ----
  130. * Fix `lodash` resolve error (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/172 )
  131. v2.6.1
  132. ----
  133. * Fix missing module (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/164 )
  134. v2.6.0
  135. ----
  136. * Move compiler to its own file
  137. * Improve error messages
  138. * Fix global HTML_WEBPACK_PLUGIN variable
  139. v2.5.0
  140. ----
  141. * Support `lodash` template's HTML _"escape"_ delimiter (`<%- %>`)
  142. * Fix bluebird warning (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/130 )
  143. * Fix an issue where incomplete cache modules were used
  144. v2.4.0
  145. ----
  146. * Don't recompile if the assets didn't change
  147. v2.3.0
  148. ----
  149. * Add events `html-webpack-plugin-before-html-processing`, `html-webpack-plugin-after-html-processing`, `html-webpack-plugin-after-emit` to allow other plugins to alter the html this plugin executes
  150. v2.2.0
  151. ----
  152. * Inject css and js even if the html file is incomplete (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/135 )
  153. * Update dependencies
  154. v2.1.0
  155. ----
  156. * Synchronize with the stable `@1` version
  157. v2.0.4
  158. ----
  159. * Fix `minify` option
  160. * Fix missing hash interpolation in publicPath
  161. v2.0.3
  162. ----
  163. * Add support for webpack.BannerPlugin
  164. v2.0.2
  165. ----
  166. * Add support for loaders in templates (fixes https://github.com/ampedandwired/html-webpack-plugin/pull/41 )
  167. * Remove `templateContent` option from configuration
  168. * Better error messages
  169. * Update dependencies
  170. v1.7.0
  171. ----
  172. * Add `chunksSortMode` option to configuration to control how chunks should be sorted before they are included to the html
  173. * Don't insert async chunks into html (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/95 )
  174. * Update dependencies
  175. v1.6.2
  176. ----
  177. * Fix paths on Windows
  178. * Fix missing hash interpolation in publicPath
  179. * Allow only `false` or `object` in `minify` configuration option
  180. v1.6.1
  181. ----
  182. * Add `size` field to the chunk object
  183. * Fix stylesheet `<link>`s being discarded when used with `"inject: 'head'"`
  184. * Update dependencies
  185. v1.6.0
  186. ----
  187. * Support placing templates in subfolders
  188. * Don't include chunks with undefined name (fixes https://github.com/ampedandwired/html-webpack-plugin/pull/60 )
  189. * Don't include async chunks
  190. v1.5.2
  191. ----
  192. * Update dependencies (lodash)
  193. v1.5.1
  194. ----
  195. * Fix error when manifest is specified (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/56 )
  196. v1.5.0
  197. ----
  198. * Allow to inject javascript files into the head of the html page
  199. * Fix error reporting
  200. v1.4.0
  201. ----
  202. * Add `favicon.ico` option
  203. * Add html minifcation
  204. v1.2.0
  205. ------
  206. * Set charset using HTML5 meta attribute
  207. * Reload upon change when using webpack watch mode
  208. * Generate manifest attribute when using
  209. [appcache-webpack-plugin](https://github.com/lettertwo/appcache-webpack-plugin)
  210. * Optionally add webpack hash as a query string to resources included in the HTML
  211. (`hash: true`) for cache busting
  212. * CSS files generated using webpack (for example, by using the
  213. [extract-text-webpack-plugin](https://github.com/webpack/extract-text-webpack-plugin))
  214. are now automatically included into the generated HTML
  215. * More detailed information about the files generated by webpack is now available
  216. to templates in the `o.htmlWebpackPlugin.files` attribute. See readme for more
  217. details. This new attribute deprecates the old `o.htmlWebpackPlugin.assets` attribute.
  218. * The `templateContent` option can now be a function that returns the template string to use
  219. * Expose webpack configuration to templates (`o.webpackConfig`)
  220. * Sort chunks to honour dependencies between them (useful for use with CommonsChunkPlugin).