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

Use rollup or some other tool to flatten the dependency tree of shipped code #246

Open
Havunen opened this issue Nov 1, 2023 · 1 comment

Comments

@Havunen
Copy link
Contributor

Havunen commented Nov 1, 2023

linkedom has quite many files in cjs and esm folders.
Requiring the library from client side especially commonjs take quite some time to resolve all the files, this could be improved by using rollup or some other bundling tool to flatten the files into single shipped file

@WebReflection
Copy link
Owner

the worker.js is the file that bundles this for you ... have you tried that? it's linkedom/worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants