-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Description:
- The current build process has so many faults which can be improved.
- We need to find some techniques and ways to improve the overall build process and size
Reference:
The few points on which we need to work on:
-
Build Size
- The current build and bundling process has some issues which can be improved. Right now, we are generating TypeScript types for both the
esmandcjsversions separately, which are basically both identical. So instead of generating thetypesseparately, we can put it into one single folder and map the directory in thepackage.json.
- The current build and bundling process has some issues which can be improved. Right now, we are generating TypeScript types for both the
-
Minify and splitting the Output
- The build output currently isn't in the minified format. We can minify that to reduce the actual package size. We can also use code splitting while building our package. We can use some modern bundler and build tool for this process (example: esbuild, tsup, tsdx)
Outcome:
- Optimizations and improvements of the package compared to the previous version.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed