web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
9.33k stars 544 forks source link

options apply should not lazily #4898

Closed ahabhgk closed 9 months ago

ahabhgk commented 10 months ago

a history debt, deprecate this by experiments.rspackFuture.disableApplyOptionsLazily in 0.5.0 and remove it in 0.6.0

https://github.com/web-infra-dev/rspack/blob/fc6ad596398fc806325053bdae26596468281582/packages/rspack/src/rspackOptionsApply.ts#L43

hardfist commented 10 months ago

why deprecate in 0.5 other than 0.4.x?

ahabhgk commented 10 months ago

I can deprecate in 0.4.x? Nice, will do it in 0.4.x

hardfist commented 10 months ago

I can deprecate in 0.4.x? Nice, will do it in 0.4.x

of course