-
-
Notifications
You must be signed in to change notification settings - Fork 400
Closed as not planned
Labels
Description
Describe the bug
BuildVersion is not reading the version from package.json as described in the documentation.
https://module-federation.io/guide/debug/variables.html#buildversion
To reproduce, just run npm run dev, and access http://localhost:5173/mf-manifest.json and see that the buildVersion does not match the version in package.json
Reproduction
https://github.com/llmdev/bug-mfe
Used Package Manager
npm
System Info
System:
OS: macOS 15.3.1
CPU: (8) arm64 Apple M1
Memory: 1.18 GB / 16.00 GB
Shell: 3.7.1 - /opt/homebrew/bin/fish
Binaries:
Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
npm: 6.12.1 - /usr/local/bin/npm
pnpm: 8.15.5 - /opt/homebrew/bin/pnpm
Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 137.0.7151.56
Chrome Canary: 139.0.7228.0
Edge: 136.0.3240.76
Safari: 18.3Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable