Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide unbundled code #3114

Closed
AlicanC opened this issue Feb 17, 2016 · 1 comment
Closed

Provide unbundled code #3114

AlicanC opened this issue Feb 17, 2016 · 1 comment

Comments

@AlicanC
Copy link

AlicanC commented Feb 17, 2016

The files in the "dist" directory are bundled. This causes bloat because they get re-bundled and also prevents shared dependencies from being optimized.

The dist directory should actually be the transpiled (but not bundled) version of the "src" directory in CommonJS format. (Just like a regular Node.js application.)

@gkatsev
Copy link
Member

gkatsev commented Feb 17, 2016

Yep, we have plans for that. It's being tracked in #2750.
Also, just wanted to mention that videojs doesn't use that many dependencies and the few it does use are unlikely to be used by others as well, so, the size savings aren't actually that big, I don't think.

@gkatsev gkatsev closed this as completed Feb 17, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants