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: 1a2e2b3e94bc62569ee7b748da88b1b85f2f79c2
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 Oct 29, 2016

  1. Copy the full SHA
    fe55809 View commit details

Commits on Oct 31, 2016

  1. Hide event deprecated warning of 'applyPluginsAsyncWaterfall' for htm…

    …l-webpack-plugin-after-emit and improve the warning message. (#478)
    ascariandrea authored and jantimon committed Oct 31, 2016
    Copy the full SHA
    bac1cd4 View commit details
  2. Release 2.24.1

    jantimon committed Oct 31, 2016
    Copy the full SHA
    0332074 View commit details

Commits on Nov 11, 2016

  1. Improve readability

    jantimon authored Nov 11, 2016
    Copy the full SHA
    8ed2159 View commit details

Commits on Nov 12, 2016

  1. Update README.md

    jantimon authored Nov 12, 2016
    Copy the full SHA
    ff249a5 View commit details

Commits on Nov 15, 2016

  1. Refactor chunk filtering

    jantimon committed Nov 15, 2016
    Copy the full SHA
    b2db3f9 View commit details

Commits on Nov 16, 2016

  1. Update README.md

    jantimon authored Nov 16, 2016
    Copy the full SHA
    e7c44ab View commit details

Commits on Nov 21, 2016

  1. Typo fixed in README.md (#498)

    TalAter authored and jantimon committed Nov 21, 2016
    Copy the full SHA
    6657d38 View commit details

Commits on Nov 25, 2016

  1. Typos and edits in README.md (#502)

    kinday authored and jantimon committed Nov 25, 2016
    Copy the full SHA
    06b49ff View commit details

Commits on Dec 8, 2016

  1. Update README.md (#519)

    jamesjieye authored and jantimon committed Dec 8, 2016
    Copy the full SHA
    ef41d98 View commit details

Commits on Dec 21, 2016

  1. Allow webpack 2 rc (#526)

    SimenB authored and jantimon committed Dec 21, 2016
    1
    Copy the full SHA
    8fbee6a View commit details

Commits on Dec 30, 2016

  1. 6
    Copy the full SHA
    9046e46 View commit details
  2. Release 2.25.0

    jantimon committed Dec 30, 2016
    2
    Copy the full SHA
    be5d67a View commit details
  3. Update dependencies

    jantimon committed Dec 30, 2016
    Copy the full SHA
    f3abe9f View commit details
  4. Add yarn lock file

    jantimon committed Dec 30, 2016
    Copy the full SHA
    90c6b90 View commit details

Commits on Jan 3, 2017

  1. Copy the full SHA
    d22c230 View commit details

Commits on Jan 4, 2017

  1. Copy the full SHA
    ecc0784 View commit details
  2. Copy the full SHA
    2f4c883 View commit details

Commits on Jan 5, 2017

  1. updated README (#539)

    numical authored and jantimon committed Jan 5, 2017
    Copy the full SHA
    d07d1eb View commit details
  2. Update README.md

    jantimon authored Jan 5, 2017
    Copy the full SHA
    4509937 View commit details
  3. Update README.md

    jantimon authored Jan 5, 2017
    Copy the full SHA
    26c95e9 View commit details

Commits on Jan 11, 2017

  1. Copy the full SHA
    1b4f8ef View commit details

Commits on Jan 20, 2017

  1. Copy the full SHA
    7a781a4 View commit details

Commits on Jan 21, 2017

  1. Fix travis-ci: set tty size (#552)

    spuf authored and jantimon committed Jan 21, 2017
    Copy the full SHA
    6dd753c View commit details

Commits on Jan 25, 2017

  1. Copy the full SHA
    41dce56 View commit details

Commits on Jan 29, 2017

  1. Copy the full SHA
    cbbb4a9 View commit details
  2. Copy the full SHA
    9d7aa21 View commit details
  3. Release 2.27.0

    jantimon committed Jan 29, 2017
    Copy the full SHA
    61ec618 View commit details
  4. Release 2.27.1

    jantimon committed Jan 29, 2017
    Copy the full SHA
    9bdb618 View commit details
  5. Release 2.28.0

    jantimon committed Jan 29, 2017
    Copy the full SHA
    73a01bd View commit details
  6. Copy the full SHA
    2d5c42f View commit details
  7. Update readme

    jantimon committed Jan 29, 2017
    Copy the full SHA
    d45e980 View commit details
  8. Add bithound configuration

    jantimon committed Jan 29, 2017
    Copy the full SHA
    e71b512 View commit details

Commits on Feb 1, 2017

  1. Update urls

    jantimon committed Feb 1, 2017
    Copy the full SHA
    ef1915a View commit details
  2. Copy the full SHA
    4ac7bfa View commit details
  3. Run tests against webpack 1

    jantimon committed Feb 1, 2017
    Copy the full SHA
    eb6a54f View commit details

Commits on Feb 5, 2017

  1. Added new preload plugin and description update (#580)

    Added a description for `html-webpack-harddisk-plugin` and the new `preload-webpack-plugin` plugin from Google.
    radum authored and jantimon committed Feb 5, 2017
    Copy the full SHA
    dc32a23 View commit details
  2. Update README.md

    jantimon authored Feb 5, 2017
    Copy the full SHA
    810771e View commit details

Commits on Feb 9, 2017

  1. Copy the full SHA
    eeb94b5 View commit details

Commits on Feb 13, 2017

  1. Add link media plugin to README (#591)

    Evan Scott authored and jantimon committed Feb 13, 2017
    Copy the full SHA
    5a76433 View commit details
  2. Update template-option.md (#590)

    cristiandley authored and jantimon committed Feb 13, 2017
    Copy the full SHA
    b8fd142 View commit details

Commits on Apr 22, 2017

  1. Make example more explicit about filename (#649)

    I lost half a day because I also had a file loader for .html and somehow the output got garbled.
    tarjei authored and jantimon committed Apr 22, 2017
    Copy the full SHA
    b4bd75f View commit details
  2. Copy the full SHA
    cc6ba28 View commit details

Commits on May 10, 2017

  1. docs(README): clearer explanation about minify (#666)

    As read like this, I thought I had to import html-minifier and give the object as parameter like:
    
    ```javascript
    import htmlMinifier from 'html-minifier'
    
    new HtmlWebpackPlugin({
            template: 'src/index.html',
            minify: htmlMinifier,
          }),
    ```
    kud authored and jantimon committed May 10, 2017
    Copy the full SHA
    7a43f10 View commit details
  2. make test passes for webpack@1 and webapck@2 (#642)

    * test(ci): start testing using webpack@2
    
    * test(examples): update examples output files
    
    * chore(travis): remove deprecaded node versions
    mastilver authored and jantimon committed May 10, 2017
    Copy the full SHA
    9b272cf View commit details

Commits on May 28, 2017

  1. Update template-option.md (#687)

    Misterhex authored and jantimon committed May 28, 2017
    Copy the full SHA
    7a2aa84 View commit details

Commits on May 29, 2017

  1. Update README.md (#688)

    Small transpositional error.
    nelsonjchen authored and jantimon committed May 29, 2017
    Copy the full SHA
    d77b399 View commit details
  2. Copy the full SHA
    efd1f78 View commit details

Commits on Jun 7, 2017

  1. README.md updated path property in output (#697)

    In 2.6.1, 
       output: {
            path: 'dist',
            filename: 'app.bundle.js'
        }
    
    give the below error.
    
    The provided value "dist" is not an absolute path!
    
    So made, path: 
    output: {
        path: __dirname + '/dist',
        filename: 'index_bundle.js'
      }
    yogeswarant authored and jantimon committed Jun 7, 2017
    Copy the full SHA
    2751ade View commit details

Commits on Jun 24, 2017

  1. Add support for webpack 3(#707)

    HairyRabbit authored and jantimon committed Jun 24, 2017
    Copy the full SHA
    9665c63 View commit details
Showing with 9,982 additions and 5,623 deletions.
  1. +70 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +17 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +79 −0 .github/issue_template.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. +7 −11 .travis.yml
  10. +415 −113 CHANGELOG.md
  11. +17 −18 LICENSE
  12. +457 −132 README.md
  13. +1 −1 default_index.ejs
  14. +23 −10 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 −75 examples/appcache/dist/webpack-2/bundle.js
  20. BIN examples/appcache/dist/{webpack-1 → webpack-4}/0714810ae3fb211173e2964249507195.png
  21. +104 −0 examples/appcache/dist/webpack-4/bundle.js
  22. +1 −1 examples/appcache/dist/{webpack-2 → webpack-4}/index.html
  23. +2 −2 examples/appcache/dist/{webpack-2 → webpack-4}/manifest.appcache
  24. +1 −1 examples/{custom-template/dist/webpack-1 → appcache/dist/webpack-4}/styles.css
  25. +5 −4 examples/appcache/webpack.config.js
  26. +33 −3 examples/build-examples.js
  27. +1 −0 examples/chunk-optimization/dist/webpack-4/entryA.html
  28. +171 −0 examples/chunk-optimization/dist/webpack-4/entryA.js
  29. +39 −0 examples/chunk-optimization/dist/webpack-4/entryA~entryB.js
  30. +1 −0 examples/chunk-optimization/dist/webpack-4/entryB.html
  31. +170 −0 examples/chunk-optimization/dist/webpack-4/entryB.js
  32. +1 −0 examples/chunk-optimization/dist/webpack-4/entryC.html
  33. +28 −0 examples/chunk-optimization/dist/webpack-4/libMath.js
  34. +13 −0 examples/chunk-optimization/dist/webpack-4/libText.js
  35. +596 −0 examples/chunk-optimization/dist/webpack-4/vendors~entryA~entryB.js
  36. +6 −0 examples/chunk-optimization/entryA.js
  37. +5 −0 examples/chunk-optimization/entryB.js
  38. +3 −0 examples/chunk-optimization/lib-concat.js
  39. +8 −0 examples/chunk-optimization/lib-multiply.js
  40. +3 −0 examples/chunk-optimization/lib-sum.js
  41. 0 examples/{jade-loader → chunk-optimization}/main.css
  42. +3 −0 examples/chunk-optimization/readme.md
  43. +56 −0 examples/chunk-optimization/webpack.config.js
  44. +97 −0 examples/custom-insertion-position/dist/webpack-4/bundle.js
  45. +12 −0 examples/custom-insertion-position/dist/webpack-4/index.html
  46. +3 −0 examples/custom-insertion-position/example.js
  47. +12 −0 examples/custom-insertion-position/index.ejs
  48. +24 −0 examples/custom-insertion-position/readme.md
  49. +25 −0 examples/custom-insertion-position/webpack.config.js
  50. +0 −60 examples/custom-template/dist/webpack-1/bundle.js
  51. +0 −12 examples/custom-template/dist/webpack-1/index.html
  52. +0 −75 examples/custom-template/dist/webpack-2/bundle.js
  53. +0 −12 examples/custom-template/dist/webpack-2/index.html
  54. BIN ...s/{appcache/dist/webpack-2 → custom-template/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  55. +104 −0 examples/custom-template/dist/webpack-4/bundle.js
  56. +1 −0 examples/custom-template/dist/webpack-4/index.html
  57. +1 −1 examples/custom-template/dist/{webpack-2 → webpack-4}/styles.css
  58. +1 −1 examples/custom-template/readme.md
  59. +2 −2 examples/custom-template/template.html
  60. +5 −4 examples/custom-template/webpack.config.js
  61. +0 −402 examples/default/dist/webpack-1/bundle.js
  62. +0 −9 examples/default/dist/webpack-1/index.html
  63. +0 −417 examples/default/dist/webpack-2/bundle.js
  64. +0 −9 examples/default/dist/webpack-2/index.html
  65. +723 −0 examples/default/dist/webpack-4/bundle.js
  66. +1 −0 examples/default/dist/webpack-4/index.html
  67. +3 −1 examples/default/webpack.config.js
  68. +0 −60 examples/favicon/dist/webpack-1/bundle.js
  69. +0 −9 examples/favicon/dist/webpack-1/favicon.html
  70. +0 −75 examples/favicon/dist/webpack-2/bundle.js
  71. +0 −9 examples/favicon/dist/webpack-2/favicon.html
  72. +104 −0 examples/favicon/dist/webpack-4/bundle.js
  73. +1 −0 examples/favicon/dist/webpack-4/favicon.html
  74. BIN examples/favicon/dist/{webpack-1 → webpack-4}/favicon.ico
  75. +1 −1 examples/favicon/dist/{webpack-1 → webpack-4}/styles.css
  76. +6 −4 examples/favicon/webpack.config.js
  77. +0 −11 examples/html-loader/dist/webpack-1/about.html
  78. +0 −60 examples/html-loader/dist/webpack-1/bundle.js
  79. +0 −11 examples/html-loader/dist/webpack-1/index.html
  80. +0 −3 examples/html-loader/dist/webpack-1/styles.css
  81. +0 −11 examples/html-loader/dist/webpack-2/about.html
  82. +0 −75 examples/html-loader/dist/webpack-2/bundle.js
  83. +0 −11 examples/html-loader/dist/webpack-2/index.html
  84. +0 −3 examples/html-loader/dist/webpack-2/styles.css
  85. BIN ...custom-template/dist/webpack-1 → html-loader/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  86. +1 −0 examples/html-loader/dist/webpack-4/about.html
  87. +104 −0 examples/html-loader/dist/webpack-4/bundle.js
  88. BIN examples/{favicon/dist/webpack-2 → html-loader/dist/webpack-4}/favicon.ico
  89. +1 −0 examples/html-loader/dist/webpack-4/index.html
  90. +1 −1 examples/{favicon/dist/webpack-2 → html-loader/dist/webpack-4}/styles.css
  91. +6 −4 examples/html-loader/webpack.config.js
  92. +0 −60 examples/inline/dist/webpack-1/bundle.js
  93. +0 −62 examples/inline/dist/webpack-1/index.html
  94. +0 −3 examples/inline/dist/webpack-1/styles.css
  95. +0 −76 examples/inline/dist/webpack-2/bundle.js
  96. BIN examples/inline/dist/webpack-2/favicon.ico
  97. +0 −78 examples/inline/dist/webpack-2/index.html
  98. +0 −3 examples/inline/dist/webpack-2/styles.css
  99. +105 −0 examples/inline/dist/webpack-4/bundle.js
  100. BIN examples/{html-loader/dist/webpack-1 → inline/dist/webpack-4}/favicon.ico
  101. +107 −0 examples/inline/dist/webpack-4/index.html
  102. +3 −0 examples/inline/dist/webpack-4/styles.css
  103. +3 −3 examples/inline/readme.md
  104. +2 −2 examples/inline/{template.jade → template.pug}
  105. +8 −7 examples/inline/webpack.config.js
  106. +0 −347 examples/jade-loader/dist/webpack-1/bundle.js
  107. BIN examples/jade-loader/dist/webpack-1/favicon.ico
  108. +0 −1 examples/jade-loader/dist/webpack-1/index.html
  109. +0 −3 examples/jade-loader/dist/webpack-1/styles.css
  110. BIN examples/jade-loader/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  111. +0 −361 examples/jade-loader/dist/webpack-2/bundle.js
  112. BIN examples/jade-loader/dist/webpack-2/favicon.ico
  113. +0 −1 examples/jade-loader/dist/webpack-2/index.html
  114. +0 −3 examples/jade-loader/dist/webpack-2/styles.css
  115. BIN examples/jade-loader/favicon.ico
  116. +0 −4 examples/jade-loader/readme.md
  117. BIN examples/javascript-advanced/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  118. +0 −65 examples/javascript-advanced/dist/webpack-1/bundle.js
  119. +0 −2 examples/javascript-advanced/dist/webpack-1/index.html
  120. +0 −3 examples/javascript-advanced/dist/webpack-1/styles.css
  121. BIN examples/javascript-advanced/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  122. +0 −78 examples/javascript-advanced/dist/webpack-2/bundle.js
  123. +0 −2 examples/javascript-advanced/dist/webpack-2/index.html
  124. +0 −3 examples/javascript-advanced/dist/webpack-2/styles.css
  125. BIN ...emplate/dist/webpack-2 → javascript-advanced/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  126. +107 −0 examples/javascript-advanced/dist/webpack-4/bundle.js
  127. +1 −0 examples/javascript-advanced/dist/webpack-4/index.html
  128. +3 −0 examples/javascript-advanced/dist/webpack-4/styles.css
  129. +6 −4 examples/javascript-advanced/webpack.config.js
  130. BIN examples/javascript/dist/webpack-1/0714810ae3fb211173e2964249507195.png
  131. +0 −65 examples/javascript/dist/webpack-1/bundle.js
  132. +0 −2 examples/javascript/dist/webpack-1/index.html
  133. +0 −3 examples/javascript/dist/webpack-1/styles.css
  134. BIN examples/javascript/dist/webpack-2/0714810ae3fb211173e2964249507195.png
  135. +0 −78 examples/javascript/dist/webpack-2/bundle.js
  136. +0 −2 examples/javascript/dist/webpack-2/index.html
  137. +0 −3 examples/javascript/dist/webpack-2/styles.css
  138. BIN ...les/{html-loader/dist/webpack-1 → javascript/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  139. +107 −0 examples/javascript/dist/webpack-4/bundle.js
  140. +1 −0 examples/javascript/dist/webpack-4/index.html
  141. +3 −0 examples/javascript/dist/webpack-4/styles.css
  142. +5 −4 examples/javascript/webpack.config.js
  143. +387 −0 examples/pug-loader/dist/webpack-4/bundle.js
  144. BIN examples/{html-loader/dist/webpack-2 → pug-loader/dist/webpack-4}/favicon.ico
  145. +1 −0 examples/pug-loader/dist/webpack-4/index.html
  146. +3 −0 examples/pug-loader/dist/webpack-4/styles.css
  147. +1 −1 examples/{jade-loader → pug-loader}/example.js
  148. BIN examples/{inline/dist/webpack-1 → pug-loader}/favicon.ico
  149. BIN examples/{jade-loader → pug-loader}/logo.png
  150. 0 examples/{appcache/dist/webpack-1/styles.css → pug-loader/main.css}
  151. +4 −0 examples/pug-loader/readme.md
  152. +1 −1 examples/{jade-loader/template.jade → pug-loader/template.pug}
  153. 0 examples/{jade-loader/time.jade → pug-loader/time.pug}
  154. +9 −7 examples/{jade-loader → pug-loader}/webpack.config.js
  155. +4 −0 examples/sort-manually/a.js
  156. +3 −0 examples/sort-manually/b.js
  157. +3 −0 examples/sort-manually/c.js
  158. +3 −0 examples/sort-manually/d.js
  159. BIN .../{html-loader/dist/webpack-2 → sort-manually/dist/webpack-4}/0714810ae3fb211173e2964249507195.png
  160. +106 −0 examples/sort-manually/dist/webpack-4/a.js
  161. +97 −0 examples/sort-manually/dist/webpack-4/b.js
  162. +99 −0 examples/sort-manually/dist/webpack-4/c.js
  163. +98 −0 examples/sort-manually/dist/webpack-4/d.js
  164. +99 −0 examples/sort-manually/dist/webpack-4/e.js
  165. +1 −0 examples/sort-manually/dist/webpack-4/first-file.html
  166. +1 −0 examples/sort-manually/dist/webpack-4/second-file.html
  167. +3 −0 examples/sort-manually/dist/webpack-4/styles.css
  168. +3 −0 examples/sort-manually/e.js
  169. BIN examples/{jade-loader/dist/webpack-1/0714810ae3fb211173e2964249507195.png → sort-manually/logo.png}
  170. 0 examples/{appcache/dist/webpack-2/styles.css → sort-manually/main.css}
  171. +11 −0 examples/sort-manually/template.html
  172. +43 −0 examples/sort-manually/webpack.config.js
  173. +97 −0 examples/template-parameters/dist/webpack-4/bundle.js
  174. +1 −0 examples/template-parameters/dist/webpack-4/index.html
  175. +3 −0 examples/template-parameters/example.js
  176. +9 −0 examples/template-parameters/index.ejs
  177. +3 −0 examples/template-parameters/readme.md
  178. +31 −0 examples/template-parameters/webpack.config.js
  179. BIN flow.png
  180. +32 −0 flow.puml
  181. +971 −548 index.js
  182. +25 −76 lib/chunksorter.js
  183. +337 −93 lib/compiler.js
  184. +12 −4 lib/errors.js
  185. +106 −0 lib/hooks.js
  186. +71 −0 lib/html-tags.js
  187. +20 −37 lib/loader.js
  188. +11 −11 migration.md
  189. +64 −44 package.json
  190. +0 −1,417 spec/BasicSpec.js
  191. +0 −155 spec/CachingSpec.js
  192. +0 −88 spec/ExampleSpec.js
  193. +2,307 −0 spec/basic.spec.js
  194. +289 −0 spec/caching.spec.js
  195. +106 −0 spec/example.spec.js
  196. +2 −2 spec/fixtures/invalid.html
  197. +2 −2 spec/fixtures/legacy.html
  198. +7 −0 spec/fixtures/spaced_plain.html
  199. +9 −0 spec/fixtures/src/index.ejs
  200. +0 −9 spec/fixtures/template.jade
  201. +9 −0 spec/fixtures/template.pug
  202. +1 −1 spec/fixtures/templateParam.js
  203. +2 −2 spec/fixtures/test.html
  204. +2 −2 spec/fixtures/webpackconfig.html
  205. +89 −0 spec/hot.spec.js
  206. +37 −0 tsconfig.json
  207. +248 −0 typings.d.ts
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.
79 changes: 79 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!-- CLICK "Preview" FOR INSTRUCTIONS IN A MORE READABLE FORMAT -->

## Prerequisites

- We realize there is a lot of data requested here. We ask only that you do your best to provide as much information as possible so we can better help you.
- Support questions are better asked in one of the following locations:
- [Stack Overflow](http://stackoverflow.com/questions/tagged/html-webpack-plugin)
- Ensure the issue isn't already reported.
- Should be reproducible with the latest version of `html-webpack-plugin`.
- (Ensure `npm ls html-webpack-plugin` matches ![](https://img.shields.io/npm/v/html-webpack-plugin.svg))

*Delete the above section and the instructions in the sections below before submitting*


## Description

If this is a feature request, explain why it should be added. Specific use-cases are best.

For bug reports, please provide as much *relevant* info as possible.

### Error Message & Stack Trace

```
COPY THE ERROR MESSAGE, INCLUDING STACK TRACE HERE
```

### Config

Copy the relevant section from `webpack.config.js`:

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

Copy your template file:

```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.


## 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
```
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
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
language: node_js
node_js:
- "0.12"
- "0.10"
- "4"
- "5"
- "6"
env:
- WEBPACK=webpack
- stable
- lts/*
- 6.9
before_install:
- stty columns 120
install:
- npm install --ignore-scripts
- npm rm webpack
- npm install $WEBPACK --ignore-scripts || true
- travis_retry npm install --ignore-scripts
script:
- npm test
- travis_retry npm test
Loading