linkedom
linkedom copied to clipboard
Use rollup or some other tool to flatten the dependency tree of shipped code
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
the worker.js is the file that bundles this for you ... have you tried that? it's linkedom/worker