Skip to content

index.html expectation regression in custom backend prod build #371

@sjc5

Description

@sjc5

Describe the regression

In stable vite (7.1.2), as well as in the prior version of rolldown-vite I was using (7.0.10), you could run production builds with custom backend integrations without an index.html entry module. This works perfectly and according to expectations.

In latest rolldown-vite (7.1.2), I am getting this error when attempting to run the same build:

[UNRESOLVED_ENTRY] Error: Cannot resolve entry module index.html.

Reproduction

Expected Behavior

Successful build.

Actual Behavior

Build fails with [UNRESOLVED_ENTRY] Error: Cannot resolve entry module index.html.

Steps to Reproduce

No response

System Info

Happens across systems, but here is my local:


System:
    OS: macOS 14.3.1
    CPU: (14) arm64 Apple M3 Max
    Memory: 75.20 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 11.4.2 - ~/.nvm/versions/node/v22.11.0/bin/npm
    pnpm: 10.10.0 - ~/.nvm/versions/node/v22.11.0/bin/pnpm
  Browsers:
    Brave Browser: 135.1.77.101
    Chrome: 138.0.7204.92
    Safari: 17.3.1
  npmPackages:
    rolldown-vite:  7.1.2

Used Package Manager

pnpm

Logs

My deepest apologies that I do not have time right now to create a minimal repro with a custom backend integration. My hope is that this rings a bell about a likely regression path. If not, no worries, and feel free to close.

Validations

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions