WebReflection / linkedom

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

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

Open Havunen opened 1 year ago

Havunen commented 1 year 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 8 months ago

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