SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 tree-shaking Open-Source Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
tailwind-starter
this is my gulp starter template for tailwind that implements rtl support, jit mode, tree-shaking, dart-sass mixins and functions, es6 helper functions, and more out of the box
While I agree the dynamic nature of CommonJS would be problematic, there were successful projects around treeshaking commonjs[0] that worked really well.
I think dynamic imports have some of the same footguns here, to be honest. Can't deny ESM is easier to statically analyze though, that much appears to be true across the board based on available evidence.
[0]: https://github.com/indutny/webpack-common-shake
tree-shaking related posts
-
What is better, Date-fns or moment.js?
-
Is it possible to switch from vue 2.6.10 to vuejs 3?
-
How do we work with the date and datetime in JS?
-
MomentJS locale with Vite and Vue 3?
-
List of functions which you can use to replace moment.js + ESLint Plugin
-
You may not need Moment.js
-
You may not need Moment.js
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 May 2024
Index
What are some of the best open-source tree-shaking projects? This list will help you:
Project | Stars | |
---|---|---|
1 | You-Dont-Need-Momentjs | 13,225 |
2 | webpack-common-shake | 914 |
3 | common-shakeify | 104 |
4 | serverless-plugin-tree-shake | 25 |
5 | unplugin-transform-imports | 8 |
6 | tailwind-starter | 3 |
Sponsored