Skip to content

Commit 79d211a

Browse files
fix: treat @openedx/frontend-build as an optional peerDep to avoid direct dep in consuming MFEs (#790)
1 parent 6aebf3d commit 79d211a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,11 @@
8383
"react-redux": "^7.1.1 || ^8.1.1",
8484
"react-router-dom": "^6.0.0",
8585
"redux": "^4.0.4"
86+
},
87+
"peerDependenciesMeta": {
88+
"@openedx/frontend-build": {
89+
"optional": true,
90+
"reason": "This package is only a peer dependency to ensure using a minimum compatible version that provides env.config and PARAGON_THEME support. It is not needed at runtime, and may be omitted with `--omit=optional`."
91+
}
8692
}
8793
}

0 commit comments

Comments
 (0)