WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.62k stars 78 forks source link

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

Open Havunen opened 9 months ago

Havunen commented 9 months ago

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 commented 4 months ago

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