darionco / rollup-plugin-web-worker-loader

Rollup plugin to load Workers. Supports inlining, dependencies, source maps, NodeJS and browsers.
MIT License
112 stars 30 forks source link

Allow using rollup 3.0.0 #76

Open dmnsgn opened 1 year ago

dmnsgn commented 1 year ago

peerDeps are:

https://github.com/darionco/rollup-plugin-web-worker-loader/blob/48df45336b9d2527adae5dd50f4bbfd7c19557dc/package.json#L22-L24

so load is not up to date and this can clash and dedupe an already installed rollup 3.

Would you consider adding ^3.0.0 to it?

The only place I see it is used is here and the rollup API seems to be the same between v2 and v3:

https://github.com/darionco/rollup-plugin-web-worker-loader/blob/48df45336b9d2527adae5dd50f4bbfd7c19557dc/src/plugin/load.js#L82-L98