Repository navigation
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainers
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
This property is deprecated by packages/rspack/src/config/normalization.ts in Rspack:
web-infra-dev/rspack@ff4d368#diff-78648f723799beccc94c4b2e506997d12d1ace8216aeb31c0731c37a6dce024a
if (experiments.lazyBarrel) {
util.deprecate(
() => {},
"`experiments.lazyBarrel` config has been deprecated and will be removed in Rspack v2.0. Lazy barrel is already stable and enabled by default. Please remove this option from your Rspack configuration."
)();
}and is going to be inaccessible by Rspack 2:
We had better remove it until Rspack 2 is released.
Reproducible demo
No response
Steps to reproduce
- Enable
@docusaurus/faster docusaurus startordocusaurus build
Expected behavior
No deprecation warnings
Actual behavior
[Rspack Deprecation] `experiments.lazyBarrel` config is deprecated and will be removed in Rspack v2.0. Lazy barrel is already stable and enabled by default. Remove this option from your Rspack configuration.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used: 3.9.2
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Node 24.13.0
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 25H2
@rspack/core: 1.7.3
Affected on 1.7+: web-infra-dev/rspack@ff4d368
Self-service
- I'd be willing to fix this bug myself.
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainers
Activity
[-]Deprecation warning on `lazyBarrel` in Rspack in `@docusaurus/faster`[/-][+]Deprecation warning on `experiments.lazyBarrel` in Rspack in `@docusaurus/faster`[/+][-]Deprecation warning on `experiments.lazyBarrel` in Rspack in `@docusaurus/faster`[/-][+]Deprecation warning on `experiments.lazyBarrel` in Rspack 1.7+ in `@docusaurus/faster`[/+]fix(faster): remove deprecated experiments.lazyBarrel option