mischnic / parcel-plugin-sw-cache

📦👷 Parcel plugin for caching using a service worker
https://npm.im/parcel-plugin-sw-cache
MIT License
47 stars 6 forks source link

Change peer dependency to parcel instead of parcel-bundler #26

Closed brielov closed 4 years ago

brielov commented 4 years ago

Parcel is published as parcel on npm too. It would be nice to suppress warnings like has unmet peer dependency by changing the peer dependency from parcel-bundler to just parcel.

mischnic commented 4 years ago

The problem is that there would always be a warning if you used the other package (parcel vs parcel-bundler). Given that parcel-bundler is more common, it makes more sense to keep it as is. (The whole situation with Parcel having a different name isn't ideal for plugins , even more if you need to require something from Parcel itself).