← Back to context

Comment by otabdeveloper4

1 month ago

> You can pin versions.

You can, but you won't. Let's be real for a second now - the only reason you use this feature is because you can't be bothered to use a real package manager that pins versions.

The reason is if you have a small script as a single js file and don't want a separate package file and build step. The given example was ^5, same effort as =5. I guess you can also import different versions in different files?