Skip to content

[Bug]: lazy compilation url request too long #9829

Closed
@JSerFeng

Description

@JSerFeng

System Info

no need

Details

Lazy compilation use EventSource to make connection with server, which passes data(triggered module identifier) through url, but if there are a large amount of modules that are triggered, the url can be too long and throw error by browser

Reproduce link

No response

Reproduce Steps

Clone rspack repo

pnpm i
cd website
npm run dev

Then open the page and navigate very fast, check the console, you can see a error complains about 'url too long'

Metadata

Metadata

Assignees

Labels

teamThe issue/pr is created by the member of Rspack.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions