When running:
npx parcel build index.html
Parcel generates an incomplete HTML file.
The input index.html is very simple and should not cause any issues:
<!doctype html>
<html lang="en">
<head>
</head>
<body>
</body>
</html>
However, the output HTML is truncated and looks like this:
As shown above, the section and closing tags are missing.
Versions tested:
❌ v2.15.3 — produces incomplete output
❌ v2.16.4 — produces incomplete output
✅ v2.14.4 — works correctly and produces the expected full HTML output
This appears to be a regression introduced after v2.14.4.