Frontmatter
| id | 523 |
| title | HtmlWebpackPlugin: include main chunk |
| state | Closed |
| labels | bughelp wanted |
| assignees | tobiu |
| createdAt | May 1, 2020, 2:52 PM |
| updatedAt | May 1, 2020, 6:06 PM |
| githubUrl | https://github.com/neomjs/neo/issues/523 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 1, 2020, 6:06 PM |

This worked perfectly fine before separating the main thread build from the workers.
Example:
new HtmlWebpackPlugin({ chunks : ['main'], // ... });The index files need to get created in the examples or app build scripts.
These scripts are no longer aware of the main thread chunk.
I see 2 options: