reconfigured exports to explicitly export a node and browser package
added HTML to HAST dom alias which is used in place of parse5 for the browser package (fix #5 and minified bundle size goes down from 817kb to 634kb)
used microbundle to generate packages for both node and browser exports
define isNode variable during bundling to prevent some frameworks from complaining
Manually tested node package to work in standalone node project and next.js. Tested browser package to work in vite (esbuild and rollup) as well as nextjs.
isNode
variable during bundling to prevent some frameworks from complainingManually tested node package to work in standalone node project and next.js. Tested browser package to work in vite (esbuild and rollup) as well as nextjs.