-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,43 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
about: Create a 🕷 report to help us improve | ||
|
||
--- | ||
|
||
## Expected behaviour | ||
<!-- If you deleting this template this issue is very likely to be closed --> | ||
|
||
Tell us what you would expect the html-webpack-plugin should. | ||
## Current behaviour 💣 | ||
|
||
## Current behaviour | ||
<!-- Tell us which problem you are facing which might be caused by a bug in the html-webpack-plugin --> | ||
|
||
Tell us what the html-webpack-plugin does instead. | ||
## Expected behaviour ☀️ | ||
|
||
## Environment | ||
<!-- If not included in current behaviour please explain what should happen instead --> | ||
|
||
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: | ||
### Reproduction Example 👾 | ||
|
||
``` | ||
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 | ||
Please provide a minimal example how to reproduce your problem.. | ||
Delete all plugins which are unrelated | ||
Delete all loaders which are unrelated | ||
Delete the production webpack config if your bug happens on develop | ||
Delete the develop webpack config if your bug happens only on production | ||
Copy the minimal `webpack.config.js` to produce this issue: | ||
Feel free to use this codebox template as a starting point: https://codesandbox.io/s/html-webpack-plugin-5x-alpha-d37s2?file=/webpack.config.js | ||
--> | ||
|
||
## Environment 🖥 | ||
|
||
```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: | ||
<!-- | ||
To help you we need to know which versions you using otherwise it is impossible to help you. | ||
Please run the following commands to see your current versions: | ||
```html | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My App</title> | ||
</head> | ||
<body> | ||
</body> | ||
</html> | ||
``` | ||
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 | ||
``` | ||
--> | ||
|
||
## 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. |