jantimon / jantimon/html-webpack-plugin

html-webpack-plugin Sometimes my template file index.html is not packaged into the dist directory, with a probability of 1/4 or 1/3, meaning it doesn't happen every time

Open
#1,855 7 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
JavaScript
Stars
10.7k
Forks
1.3k
Avg merge
1m
Merged PRs (30d)
1

Description

i used [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) Sometimes my template file index.html is not packaged into the dist directory, with a probability of 1/4 or 1/3, meaning it doesn't happen every time

![WechatIMG3212](https://github.com/user-attachments/assets/7c02aaf1-d8a5-448b-a155-832eecd8914c)
![WechatIMG3213](https://github.com/user-attachments/assets/5244294a-55a3-4c0c-9922-b419ae4685f8)
![WechatIMG3214](https://github.com/user-attachments/assets/d758cd8d-b149-4e77-9357-5c2167716953)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the html-webpack-plugin configuration that uses the index.html template and writes to the dist directory. Reproduce the intermittent packaging failure described in the issue and compare the attached screenshots with successful and failed outputs. Done means identifying a reliable cause and confirming that index.html is consistently emitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.