Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
merkaloid
· 7y ago · 0 comments
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
Comments
[–]
crooked-v
7y ago
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.