Skip to content

parcel build outputs incomplete HTML in v2.15.3 and v2.16.4 #10274

@josephshen

Description

@josephshen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions