sveltejs / svelte-loader

Webpack loader for svelte components.
MIT License
597 stars 72 forks source link

Disable package-lock.json #163

Closed non25 closed 3 years ago

non25 commented 3 years ago

This ensures users will get up to date version of svelte-hmr without us needing to republish svelte-loader with bumped version

non25 commented 3 years ago

It also fixes this https://github.com/rixo/svelte-hmr/pull/23 for Yarn 2 PnP.

Conduitry commented 3 years ago

package-lock.json is not considered when someone is installing a library as a dependency. It's not even part of the published package. (https://unpkg.com/svelte-loader@2.13.6/package-lock.json) If package.json contains "svelte-hmr": "^0.12.2" then this will already resolve to 0.12.3 for new installations.

non25 commented 3 years ago

Okay then. :smile: