Hacker News new | ask | show | jobs
by merkaloid 2691 days ago
For you use case you just have to make JSDOM an external package (assuming you use webpack or rollup) and declare it as a peer dependency of your package
1 comments

That means you still have to add a layer of build configuration on top of this tool, though, which obviates the point of using it at all.