ESModules?
Open
feature
- Dominant language
- JavaScript
- Stars
- 4.7k
- Forks
- 852
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to use certain functions from the package (mostly just the util functions for validation) in a frontend Next.js app. Since the package is currently being exported using CommonJS, no tree-shaking can occur.
This means anyone who visits the site would download the entire `ytdl-core` package even though only a small fraction of it is being used.
If `ytdl-core` offered ECMAScript modules exports (in addition to CommonJS) bundle sizes can be optimized on the web.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.