Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DLLReferencePlugin validation error when optimization.moduleIds: deterministic or natural #9108

Closed
robrichard opened this issue Jan 23, 2025 · 1 comment · Fixed by #9112
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@robrichard
Copy link

System Info

  System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 78.16 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - /usr/local/bin/node
    Yarn: 3.3.0 - ~/.npm-global/bin/yarn
    npm: 10.2.4 - /usr/local/bin/npm
    Watchman: 2023.09.04.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 131.0.6778.265
    Firefox: 133.0.3
    Safari: 18.1

Details

Running a build with DllPlugin and optimization.moduleIds: deterministic or natural generates a DLL manifest with numeric ids.

Consuming this manifest using DllReferencePlugin results in the following validation error:

- Expected string, received number at "manifest.content../src/dllEntry.js.id"

Reproduce link

https://github.com/robrichard/rspack-dll-test/

Reproduce Steps

  1. Run npm run build
  2. See error message:
- Expected string, received number at "manifest.content../src/dllEntry.js.id"
@robrichard robrichard added bug Something isn't working pending triage The issue/PR is currently untouched. labels Jan 23, 2025
@robrichard
Copy link
Author

@ahabhgk I think this was introduced by #9099

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant