shiksha-platform / frontend-modulefederation

The frontend repo includes configurable UI components, modules and apps to create the Shiksha experience
10 stars 58 forks source link

Add typescript as shared dependency in the modules. #267

Open sidtohan opened 2 years ago

sidtohan commented 2 years ago

Description

In order to prevent duplication of dependencies during the optimized build, we must add them as shared dependencies. Since typescript is now working fine for Attendance and Worksheet module, it would be good to add typescript as shared dependency in these two modules(and any others, if applicable).

Starting Point

If you wish to contribute, look in the module configuration config file for the eligible modules, and add typescript as a dependency in the list of shared dependency.

Example

For the attendance module, the config file is right now as follows: image Edit the list of shared dependencies and add typescript, make sure the version is consistent across all modules(the one which are using typescript that is)