Skip to content

[Bug]: new incremental is breaking lazy compilation and normal build #10882

Open
@sibelius

Description

@sibelius

System Info

System:
OS: Linux 6.8 Ubuntu 24.10 24.10 (Oracular Oriole)
CPU: (12) x64 Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz
Memory: 17.04 GB / 32.00 GB
Container: Yes
Shell: 5.2.32 - /bin/bash
Binaries:
Node: 22.17.0 - ~/.nvm/versions/node/v22.17.0/bin/node
Yarn: 1.22.22 - ~/woovi-admin/node_modules/.bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.17.0/bin/npm
pnpm: 10.12.3 - ~/.nvm/versions/node/v22.17.0/bin/pnpm
npmPackages:
@rspack/core: 1.4.2

Details

with the new incremental option it breaks like this

[login] [LazyCompilation] Cannot find correct file path for module builtin:react-refresh-loader!builtin:swc-loader%3F%3FruleSet%5B1%5D.rules%5B3%5D.use%5B0%5D!/root/development/woovi-admin/packages/service-login/src/components/login/Login.tsx

it also breaks when incremental: safe

and also incremental: false

It keeps using lazy compilation even without using lazy compilation options

Reproduce link

no-link-for-now

Reproduce Steps

parallelCodeSplitting: true,
incremental: false,
lazyCompilation: false,

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions