callstack / callstack/super-app-showcase

Question - What is the propose of getSharedDependencies?

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
637
Forks
131
PR merge metrics
No merged PRs in 30d

Description

Just wanted to clarify the following similar doubts.

1. What is the propose of getSharedDependencies?
2. Can we add all the packages that are being used in the host and mfes level in the `dependencies.json` file?
1. Does it impact the app bundle size?
2. Or do need to follow any pattern to specify the dependencies in the `dependencies.json` file?
3. If we specify a dependency in `dependencies.json` file and host package.json file then can we use that dependency in all the mfes without specifying in the respective mfe package.json file?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.