Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jantimon/html-webpack-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0cf580c628a495d77b85e35ed1b9d244e2ec5ae0
Choose a base ref
...
head repository: jantimon/html-webpack-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eb73905d4a0f031ded7a7d235d3fb2c761267cc0
Choose a head ref

Commits on Jul 31, 2017

  1. Release 2.30.1

    jantimon committed Jul 31, 2017
    Copy the full SHA
    672f34b View commit details

Commits on Aug 24, 2017

  1. Update README.md (#768)

    theGC authored and jantimon committed Aug 24, 2017
    Copy the full SHA
    aedc623 View commit details

Commits on Oct 28, 2017

  1. Doc: define lodash loader as the default loader (#789)

    * Update readme to no longer reference ejs by default
    
    ejs is not the default template language, it's lodash, and it should be marked as such.
    
    * update template-option.md to reference lodash
    
    Previously was ejs, which was not what the default loader was.
    nphoff authored and mastilver committed Oct 28, 2017
    Copy the full SHA
    f663339 View commit details

Commits on Feb 16, 2018

  1. Copy the full SHA
    a8a8c2b View commit details
  2. Copy the full SHA
    d66a1a9 View commit details
  3. 1
    Copy the full SHA
    638c664 View commit details
  4. Copy the full SHA
    55aab64 View commit details
  5. Copy the full SHA
    ebfc277 View commit details

Commits on Feb 26, 2018

  1. Copy the full SHA
    f5252ff View commit details
  2. Copy the full SHA
    6319451 View commit details
  3. Copy the full SHA
    04ee3a6 View commit details
  4. Copy the full SHA
    1dee37e View commit details
  5. fix(package): use correct package-lock

    Thomas Sileghem committed Feb 26, 2018
    Copy the full SHA
    e01700e View commit details

Commits on Feb 28, 2018

  1. Copy the full SHA
    f669052 View commit details

Commits on Mar 1, 2018

  1. Copy the full SHA
    57411a9 View commit details
  2. chore(release): 3.0.1

    jantimon committed Mar 1, 2018
    Copy the full SHA
    17b6f19 View commit details
  3. Fix to work with loader-utils ^1.1.0 (#792)

    fix(query-loader): In case no query is provided, return an empty object. This fixes #727
    AaronFriel authored and jantimon committed Mar 1, 2018
    Copy the full SHA
    7587754 View commit details
  4. Add plugin to README.md (#853)

    Add html-webpack-inline-style-plugin as a third party addon
    djaax authored and jantimon committed Mar 1, 2018
    Copy the full SHA
    1ff661c View commit details
  5. docs(README): update template variables list (#840)

    Documentation didn't mention `compilation` variable available in templates, which is crucial for inlining assets in html, even though there is an example in the repo using this variable.
    st-sloth authored and jantimon committed Mar 1, 2018
    Copy the full SHA
    985654c View commit details
  6. Copy the full SHA
    2c8637c View commit details
  7. Change in-line spelling (#777)

    I've searched for inlining solution by Ctrl+F'ing `inline`. Went for #104 and found last comment by luck. Then only found that this plugin was already mentioned in README. Spelling `in-line` is a bit strange, in my opinion. I understand that this is a smallish change, so feel free to decline changes. ✌️
    troglotit authored and jantimon committed Mar 1, 2018
    Copy the full SHA
    256f990 View commit details
  8. Copy the full SHA
    0558c18 View commit details
  9. chore(release): 3.0.3

    jantimon committed Mar 1, 2018
    Copy the full SHA
    44fcf14 View commit details
  10. Copy the full SHA
    dc233b5 View commit details
  11. 1
    Copy the full SHA
    0348d6b View commit details
  12. chore(release): 3.0.4

    jantimon committed Mar 1, 2018
    Copy the full SHA
    8038a17 View commit details

Commits on Mar 6, 2018

  1. Add a note about ordering first

    Per @TheLarkInn's suggestion, it is necessary to order `html-webpack-plugin` first before other plugins that make use of it.
    jacobroufa authored and jantimon committed Mar 6, 2018
    Copy the full SHA
    5711f16 View commit details
  2. fix(entries): do not ignore JS if there is also CSS

    broken by commit 0348d6b
    rodneyrehm authored and jantimon committed Mar 6, 2018
    Copy the full SHA
    020b714 View commit details
  3. Copy the full SHA
    2288f20 View commit details
  4. chore(release): 3.0.5

    jantimon committed Mar 6, 2018
    Copy the full SHA
    422d828 View commit details
  5. docs(readme): fix options table

    apparently `|` in code blocks in tables need to be escaped these days…
    rodneyrehm authored and jantimon committed Mar 6, 2018
    Copy the full SHA
    eb0b765 View commit details
  6. Copy the full SHA
    bcbb036 View commit details
  7. chore(release): 3.0.6

    jantimon committed Mar 6, 2018
    Copy the full SHA
    1b2a71d View commit details

Commits on Mar 9, 2018

  1. typo

    fix typo
    atilkan authored and jantimon committed Mar 9, 2018
    Copy the full SHA
    8131d8b View commit details

Commits on Mar 19, 2018

  1. Copy the full SHA
    26dcb98 View commit details
  2. chore(release): 3.0.7

    jantimon committed Mar 19, 2018
    Copy the full SHA
    db6904b View commit details
  3. Add html-webpack-exclude-empty-assets-plugin

    Add html-webpack-exclude-empty-assets-plugin to the docs
    KnisterPeter authored and jantimon committed Mar 19, 2018
    Copy the full SHA
    e6e8464 View commit details

Commits on Mar 20, 2018

  1. Updated readme.md

    Change require html to require html-loader
    kontrollanten authored and jantimon committed Mar 20, 2018
    Copy the full SHA
    df32593 View commit details

Commits on Mar 22, 2018

  1. Copy the full SHA
    ff03761 View commit details
  2. Update README.md

    jantimon authored Mar 22, 2018
    Copy the full SHA
    fd22d81 View commit details
  3. Update README.md

    jantimon authored Mar 22, 2018
    Copy the full SHA
    cf4176b View commit details
  4. Copy the full SHA
    efbd352 View commit details
  5. Copy the full SHA
    05ee29b View commit details
  6. chore(release): 3.0.8

    jantimon committed Mar 22, 2018
    Copy the full SHA
    2763474 View commit details
  7. Copy the full SHA
    c5e32d3 View commit details
  8. chore(release): 3.1.0

    jantimon committed Mar 22, 2018
    Copy the full SHA
    07481a2 View commit details
  9. Copy the full SHA
    050b51a View commit details

Commits on Mar 25, 2018

  1. chore: Add commitizen

    jantimon committed Mar 25, 2018
    Copy the full SHA
    24f8acc View commit details
  2. fix(loader): Use lodash inside the loader directly

    Stop using webpack module rules inside the loader to get rid of the babel 500kb warning
    
    fix #786
    jantimon committed Mar 25, 2018
    Copy the full SHA
    7b4eb7f View commit details

Commits on Mar 27, 2018

  1. feat: Add meta tag option

    jantimon committed Mar 27, 2018
    Copy the full SHA
    a7d37ca View commit details
Showing with 8,781 additions and 11,340 deletions.
  1. +0 −9 .bithoundrc
  2. +70 −0 .github/ISSUE_TEMPLATE/bug_report.md
  3. +17 −0 .github/ISSUE_TEMPLATE/feature_request.md
  4. +14 −0 .github/lock.yml
  5. +16 −0 .github/stale.yml
  6. +4 −1 .gitignore
  7. +8 −0 .mailmap
  8. +1 −0 .node-version
  9. +5 −12 .travis.yml
  10. +399 −132 CHANGELOG.md
  11. +17 −18 LICENSE
  12. +436 −125 README.md
  13. +1 −1 default_index.ejs
  14. +10 −8 docs/template-option.md
  15. +20 −0 examples/README.md
  16. +0 −60 examples/appcache/dist/webpack-1/bundle.js
  17. +0 −1 examples/appcache/dist/webpack-1/index.html
  18. +0 −9 examples/appcache/dist/webpack-1/manifest.appcache
  19. +0 −86 examples/appcache/dist/webpack-2/bundle.js
  20. +0 −1 examples/appcache/dist/webpack-3/index.html
  21. +0 −9 examples/appcache/dist/webpack-3/manifest.appcache
  22. BIN examples/appcache/dist/{webpack-1 → webpack-4}/0714810ae3fb211173e2964249507195.png
  23. +28 −7 examples/appcache/dist/{webpack-3 → webpack-4}/bundle.js
  24. +1 −1 examples/appcache/dist/{webpack-2 → webpack-4}/index.html
  25. +2 −2 examples/appcache/dist/{webpack-2 → webpack-4}/manifest.appcache
  26. +1 −1 examples/appcache/dist/{webpack-2 → webpack-4}/styles.css
  27. +4 −4 examples/appcache/webpack.config.js
  28. +13 −12 examples/build-examples.js
  29. +1 −0 examples/chunk-optimization/dist/webpack-4/entryA.html
  30. +171 −0 examples/chunk-optimization/dist/webpack-4/entryA.js
  31. +39 −0 examples/chunk-optimization/dist/webpack-4/entryA~entryB.js
  32. +1 −0 examples/chunk-optimization/dist/webpack-4/entryB.html
  33. +170 −0 examples/chunk-optimization/dist/webpack-4/entryB.js
  34. +1 −0 examples/chunk-optimization/dist/webpack-4/entryC.html
  35. +28 −0 examples/chunk-optimization/dist/webpack-4/libMath.js
  36. +13 −0 examples/chunk-optimization/dist/webpack-4/libText.js
  37. +596 −0 examples/chunk-optimization/dist/webpack-4/vendors~entryA~entryB.js
  38. +6 −0 examples/chunk-optimization/entryA.js
  39. +5 −0 examples/chunk-optimization/entryB.js
  40. +3 −0 examples/chunk-optimization/lib-concat.js
  41. +8 −0 examples/chunk-optimization/lib-multiply.js
  42. +3 −0 examples/chunk-optimization/lib-sum.js
  43. 0 examples/{jade-loader → chunk-optimization}/main.css
  44. +3 −0 examples/chunk-optimization/readme.md
  45. +56 −0 examples/chunk-optimization/webpack.config.js
  46. +27 −13 examples/{favicon/dist/webpack-3 → custom-insertion-position/dist/webpack-4}/bundle.js
  47. +12 −0 examples/custom-insertion-position/dist/webpack-4/index.html
  48. +3 −0 examples/custom-insertion-position/example.js
  49. +12 −0 examples/custom-insertion-position/index.ejs
  50. +24 −0 examples/custom-insertion-position/readme.md
  51. +25 −0 examples/custom-insertion-position/webpack.config.js
  52. +0 −60 examples/custom-template/dist/webpack-1/bundle.js
  53. +0 −12 examples/custom-template/dist/webpack-1/index.html
  54. +0 −86 examples/custom-template/dist/webpack-2/bundle.js
  55. +0 −12 examples/custom-template/dist/webpack-2/index.html
  56. +0 −12 examples/custom-template/dist/webpack-3/index.html
  57. +0 −3 examples/custom-template/dist/webpack-3/styles.css
  58. BIN ...s/{appcache/dist/webpack-2 → custom-template/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  59. +28 −7 examples/custom-template/dist/{webpack-3 → webpack-4}/bundle.js
  60. +1 −0 examples/custom-template/dist/webpack-4/index.html
  61. +1 −1 examples/{appcache/dist/webpack-3 → custom-template/dist/webpack-4}/styles.css
  62. +1 −1 examples/custom-template/readme.md
  63. +4 −4 examples/custom-template/webpack.config.js
  64. +0 −402 examples/default/dist/webpack-1/bundle.js
  65. +0 −9 examples/default/dist/webpack-1/index.html
  66. +0 −428 examples/default/dist/webpack-2/bundle.js
  67. +0 −9 examples/default/dist/webpack-2/index.html
  68. +0 −425 examples/default/dist/webpack-3/bundle.js
  69. +0 −9 examples/default/dist/webpack-3/index.html
  70. +723 −0 examples/default/dist/webpack-4/bundle.js
  71. +1 −0 examples/default/dist/webpack-4/index.html
  72. +2 −1 examples/default/webpack.config.js
  73. +0 −60 examples/favicon/dist/webpack-1/bundle.js
  74. +0 −9 examples/favicon/dist/webpack-1/favicon.html
  75. +0 −3 examples/favicon/dist/webpack-1/styles.css
  76. +0 −86 examples/favicon/dist/webpack-2/bundle.js
  77. +0 −9 examples/favicon/dist/webpack-2/favicon.html
  78. +0 −3 examples/favicon/dist/webpack-2/styles.css
  79. +0 −9 examples/favicon/dist/webpack-3/favicon.html
  80. +0 −3 examples/favicon/dist/webpack-3/styles.css
  81. +104 −0 examples/favicon/dist/webpack-4/bundle.js
  82. +1 −0 examples/favicon/dist/webpack-4/favicon.html
  83. BIN examples/favicon/dist/{webpack-1 → webpack-4}/favicon.ico
  84. +1 −1 examples/{custom-template/dist/webpack-1 → favicon/dist/webpack-4}/styles.css
  85. +5 −4 examples/favicon/webpack.config.js
  86. BIN examples/html-loader/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  87. +0 −11 examples/html-loader/dist/webpack-1/about.html
  88. +0 −60 examples/html-loader/dist/webpack-1/bundle.js
  89. +0 −11 examples/html-loader/dist/webpack-1/index.html
  90. +0 −3 examples/html-loader/dist/webpack-1/styles.css
  91. BIN examples/html-loader/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  92. +0 −11 examples/html-loader/dist/webpack-2/about.html
  93. +0 −86 examples/html-loader/dist/webpack-2/bundle.js
  94. +0 −11 examples/html-loader/dist/webpack-2/index.html
  95. +0 −3 examples/html-loader/dist/webpack-2/styles.css
  96. BIN examples/html-loader/dist/webpack-3/0714810ae3fb211173e2964249507195.png
  97. +0 −11 examples/html-loader/dist/webpack-3/about.html
  98. BIN examples/html-loader/dist/webpack-3/favicon.ico
  99. +0 −11 examples/html-loader/dist/webpack-3/index.html
  100. +0 −3 examples/html-loader/dist/webpack-3/styles.css
  101. BIN examples/{appcache/dist/webpack-3 → html-loader/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  102. +1 −0 examples/html-loader/dist/webpack-4/about.html
  103. +104 −0 examples/html-loader/dist/webpack-4/bundle.js
  104. BIN examples/{favicon/dist/webpack-2 → html-loader/dist/webpack-4}/favicon.ico
  105. +1 −0 examples/html-loader/dist/webpack-4/index.html
  106. +1 −1 examples/{custom-template/dist/webpack-2 → html-loader/dist/webpack-4}/styles.css
  107. +5 −4 examples/html-loader/webpack.config.js
  108. +0 −60 examples/inline/dist/webpack-1/bundle.js
  109. BIN examples/inline/dist/webpack-1/favicon.ico
  110. +0 −62 examples/inline/dist/webpack-1/index.html
  111. +0 −3 examples/inline/dist/webpack-1/styles.css
  112. +0 −87 examples/inline/dist/webpack-2/bundle.js
  113. BIN examples/inline/dist/webpack-2/favicon.ico
  114. +0 −89 examples/inline/dist/webpack-2/index.html
  115. +0 −3 examples/inline/dist/webpack-2/styles.css
  116. +0 −84 examples/inline/dist/webpack-3/bundle.js
  117. BIN examples/inline/dist/webpack-3/favicon.ico
  118. +0 −3 examples/inline/dist/webpack-3/styles.css
  119. +32 −13 examples/{javascript-advanced/dist/webpack-3 → inline/dist/webpack-4}/bundle.js
  120. BIN examples/{favicon/dist/webpack-3 → inline/dist/webpack-4}/favicon.ico
  121. +30 −9 examples/inline/dist/{webpack-3 → webpack-4}/index.html
  122. +3 −0 examples/inline/dist/webpack-4/styles.css
  123. +3 −3 examples/inline/readme.md
  124. +2 −2 examples/inline/{template.jade → template.pug}
  125. +7 −7 examples/inline/webpack.config.js
  126. BIN examples/jade-loader/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  127. +0 −347 examples/jade-loader/dist/webpack-1/bundle.js
  128. BIN examples/jade-loader/dist/webpack-1/favicon.ico
  129. +0 −1 examples/jade-loader/dist/webpack-1/index.html
  130. +0 −3 examples/jade-loader/dist/webpack-1/styles.css
  131. BIN examples/jade-loader/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  132. +0 −372 examples/jade-loader/dist/webpack-2/bundle.js
  133. BIN examples/jade-loader/dist/webpack-2/favicon.ico
  134. +0 −1 examples/jade-loader/dist/webpack-2/index.html
  135. +0 −3 examples/jade-loader/dist/webpack-2/styles.css
  136. BIN examples/jade-loader/dist/webpack-3/0714810ae3fb211173e2964249507195.png
  137. +0 −369 examples/jade-loader/dist/webpack-3/bundle.js
  138. BIN examples/jade-loader/dist/webpack-3/favicon.ico
  139. +0 −1 examples/jade-loader/dist/webpack-3/index.html
  140. +0 −3 examples/jade-loader/dist/webpack-3/styles.css
  141. BIN examples/jade-loader/favicon.ico
  142. +0 −4 examples/jade-loader/readme.md
  143. BIN examples/javascript-advanced/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  144. +0 −65 examples/javascript-advanced/dist/webpack-1/bundle.js
  145. +0 −2 examples/javascript-advanced/dist/webpack-1/index.html
  146. +0 −3 examples/javascript-advanced/dist/webpack-1/styles.css
  147. BIN examples/javascript-advanced/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  148. +0 −2 examples/javascript-advanced/dist/webpack-2/index.html
  149. +0 −3 examples/javascript-advanced/dist/webpack-2/styles.css
  150. BIN examples/javascript-advanced/dist/webpack-3/0714810ae3fb211173e2964249507195.png
  151. +0 −2 examples/javascript-advanced/dist/webpack-3/index.html
  152. +0 −3 examples/javascript-advanced/dist/webpack-3/styles.css
  153. BIN ...emplate/dist/webpack-1 → javascript-advanced/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  154. +30 −9 examples/{javascript/dist/webpack-3 → javascript-advanced/dist/webpack-4}/bundle.js
  155. +1 −0 examples/javascript-advanced/dist/webpack-4/index.html
  156. +3 −0 examples/javascript-advanced/dist/webpack-4/styles.css
  157. +5 −4 examples/javascript-advanced/webpack.config.js
  158. BIN examples/javascript/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  159. +0 −65 examples/javascript/dist/webpack-1/bundle.js
  160. +0 −2 examples/javascript/dist/webpack-1/index.html
  161. +0 −3 examples/javascript/dist/webpack-1/styles.css
  162. BIN examples/javascript/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  163. +0 −89 examples/javascript/dist/webpack-2/bundle.js
  164. +0 −2 examples/javascript/dist/webpack-2/index.html
  165. +0 −3 examples/javascript/dist/webpack-2/styles.css
  166. BIN examples/javascript/dist/webpack-3/0714810ae3fb211173e2964249507195.png
  167. +0 −2 examples/javascript/dist/webpack-3/index.html
  168. +0 −3 examples/javascript/dist/webpack-3/styles.css
  169. BIN ...{custom-template/dist/webpack-2 → javascript/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  170. +32 −14 examples/{javascript-advanced/dist/webpack-2 → javascript/dist/webpack-4}/bundle.js
  171. +1 −0 examples/javascript/dist/webpack-4/index.html
  172. +3 −0 examples/javascript/dist/webpack-4/styles.css
  173. +4 −4 examples/javascript/webpack.config.js
  174. +387 −0 examples/pug-loader/dist/webpack-4/bundle.js
  175. BIN examples/{html-loader/dist/webpack-1 → pug-loader/dist/webpack-4}/favicon.ico
  176. +1 −0 examples/pug-loader/dist/webpack-4/index.html
  177. +3 −0 examples/pug-loader/dist/webpack-4/styles.css
  178. +1 −1 examples/{jade-loader → pug-loader}/example.js
  179. BIN examples/{html-loader/dist/webpack-2 → pug-loader}/favicon.ico
  180. BIN examples/{jade-loader → pug-loader}/logo.png
  181. 0 examples/{appcache/dist/webpack-1/styles.css → pug-loader/main.css}
  182. +4 −0 examples/pug-loader/readme.md
  183. +1 −1 examples/{jade-loader/template.jade → pug-loader/template.pug}
  184. 0 examples/{jade-loader/time.jade → pug-loader/time.pug}
  185. +8 −7 examples/{jade-loader → pug-loader}/webpack.config.js
  186. BIN examples/sort-manually/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  187. +0 −60 examples/sort-manually/dist/webpack-1/a.js
  188. +0 −53 examples/sort-manually/dist/webpack-1/b.js
  189. +0 −53 examples/sort-manually/dist/webpack-1/c.js
  190. +0 −53 examples/sort-manually/dist/webpack-1/d.js
  191. +0 −53 examples/sort-manually/dist/webpack-1/e.js
  192. +0 −11 examples/sort-manually/dist/webpack-1/first-file.html
  193. +0 −11 examples/sort-manually/dist/webpack-1/second-file.html
  194. +0 −3 examples/sort-manually/dist/webpack-1/styles.css
  195. BIN examples/sort-manually/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  196. +0 −86 examples/sort-manually/dist/webpack-2/a.js
  197. +0 −81 examples/sort-manually/dist/webpack-2/b.js
  198. +0 −81 examples/sort-manually/dist/webpack-2/c.js
  199. +0 −81 examples/sort-manually/dist/webpack-2/d.js
  200. +0 −11 examples/sort-manually/dist/webpack-2/first-file.html
  201. +0 −11 examples/sort-manually/dist/webpack-2/second-file.html
  202. +0 −3 examples/sort-manually/dist/webpack-2/styles.css
  203. BIN examples/sort-manually/dist/webpack-3/0714810ae3fb211173e2964249507195.png
  204. +0 −78 examples/sort-manually/dist/webpack-3/e.js
  205. +0 −11 examples/sort-manually/dist/webpack-3/first-file.html
  206. +0 −11 examples/sort-manually/dist/webpack-3/second-file.html
  207. +0 −3 examples/sort-manually/dist/webpack-3/styles.css
  208. BIN ...stom-template/dist/webpack-3 → sort-manually/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  209. +28 −7 examples/sort-manually/dist/{webpack-3 → webpack-4}/a.js
  210. +26 −5 examples/sort-manually/dist/{webpack-3 → webpack-4}/b.js
  211. +26 −5 examples/sort-manually/dist/{webpack-3 → webpack-4}/c.js
  212. +26 −5 examples/sort-manually/dist/{webpack-3 → webpack-4}/d.js
  213. +26 −8 examples/sort-manually/dist/{webpack-2 → webpack-4}/e.js
  214. +1 −0 examples/sort-manually/dist/webpack-4/first-file.html
  215. +1 −0 examples/sort-manually/dist/webpack-4/second-file.html
  216. +3 −0 examples/sort-manually/dist/webpack-4/styles.css
  217. +4 −4 examples/sort-manually/webpack.config.js
  218. +27 −13 examples/{html-loader/dist/webpack-3 → template-parameters/dist/webpack-4}/bundle.js
  219. +1 −0 examples/template-parameters/dist/webpack-4/index.html
  220. +3 −0 examples/template-parameters/example.js
  221. +9 −0 examples/template-parameters/index.ejs
  222. +3 −0 examples/template-parameters/readme.md
  223. +31 −0 examples/template-parameters/webpack.config.js
  224. BIN flow.png
  225. +32 −0 flow.puml
  226. +971 −566 index.js
  227. +20 −95 lib/chunksorter.js
  228. +337 −93 lib/compiler.js
  229. +12 −4 lib/errors.js
  230. +106 −0 lib/hooks.js
  231. +71 −0 lib/html-tags.js
  232. +20 −37 lib/loader.js
  233. +11 −11 migration.md
  234. +64 −44 package.json
  235. +0 −1,575 spec/BasicSpec.js
  236. +0 −155 spec/CachingSpec.js
  237. +0 −92 spec/ExampleSpec.js
  238. +2,307 −0 spec/basic.spec.js
  239. +289 −0 spec/caching.spec.js
  240. +106 −0 spec/example.spec.js
  241. +2 −2 spec/fixtures/invalid.html
  242. +2 −2 spec/fixtures/legacy.html
  243. +9 −0 spec/fixtures/src/index.ejs
  244. +0 −9 spec/fixtures/template.jade
  245. +9 −0 spec/fixtures/template.pug
  246. +1 −1 spec/fixtures/templateParam.js
  247. +2 −2 spec/fixtures/test.html
  248. +2 −2 spec/fixtures/webpackconfig.html
  249. +89 −0 spec/hot.spec.js
  250. +37 −0 tsconfig.json
  251. +248 −0 typings.d.ts
  252. +0 −3,625 yarn.lock
9 changes: 0 additions & 9 deletions .bithoundrc

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
name: Bug report
about: Create a report to help us improve

---

## Expected behaviour

Tell us what you would expect the html-webpack-plugin should.

## Current behaviour

Tell us what the html-webpack-plugin does instead.

## Environment

Tell us which operating system you are using, as well as which versions of Node.js, npm, webpack, and html-webpack-plugin. Run the following to get it quickly:

```
node -e "var os=require('os');console.log('Node.js ' + process.version + '\n' + os.platform() + ' ' + os.release())"
npm --version
npm ls webpack
npm ls html-webpack-plugin
```

### Config

Copy the minimal `webpack.config.js` to produce this issue:


```js
module.exports = {
entry: 'app.js',
output: {
path: 'dist',
filename: 'index_bundle.js'
},
module: {
rules: [
...
]
}
plugins: [
new HtmlWebpackPlugin(),
...
]
}
```

Copy your template file if it is part of this issue:

```html
<!DOCTYPE html>
<html>
<head>
<title>My App</title>
</head>
<body>
</body>
</html>
```

## Relevant Links

- If your project is public, link to the repo so we can investigate directly.
- **BONUS POINTS:** Create a [minimal reproduction](http://stackoverflow.com/help/mcve) and upload it to GitHub. This will get you the fastest support.

## Additional context

Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: false

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 30

16 changes: 16 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 15
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
**This issue had no activity for at least half a year.**
It's subject to automatic issue closing if there is no activity in the next 15 days.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/node_modules/
/dist/
npm-debug.log
/coverage/
npm-debug.*.log
yarn.lock
package-lock.json
8 changes: 8 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Chris Greening <chris@cmgresearch.com>
Jan Nicklas <j.nicklas@me.com>
Jan Nicklas <j.nicklas@me.com> <j.nicklas@sinnerschrader.com>
Ma Cheng <mc@mc-zone.me>
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
Thomas Grainger <tom.grainger@procensus.com>
Thomas Grainger <tom.grainger@procensus.com> <tagrain@gmail.com>
Zhanwei Wu <zhanwei.wu@dbjtech.com>
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.11.5
17 changes: 5 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
env:
- WEBPACK_VERSION=1 EXTRACT_PLUGIN_VERSION=1
- WEBPACK_VERSION=2 EXTRACT_PLUGIN_VERSION=2
- WEBPACK_VERSION=3 EXTRACT_PLUGIN_VERSION=3.0.0-beta.3
- stable
- lts/*
- 6.9
before_install:
- stty columns 120
install:
- npm install --ignore-scripts
- npm rm webpack
- npm rm extract-text-webpack-plugin
- npm install webpack@$WEBPACK_VERSION extract-text-webpack-plugin@$EXTRACT_PLUGIN_VERSION --ignore-scripts || true
- travis_retry npm install --ignore-scripts
script:
- npm test
- travis_retry npm test
Loading