Replies: 1 comment 1 reply
-
i think it's not safe to expose the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My last blocker, it seems, to getting rid of npm (and bundling) for modern frontend development is the fact that private packages on npm aren't accessible with the same immutable, versioned URL as public ones.
What I could wish for is not really "private" packages, as those obviously can't go through a public CDN, but rather "secret" or "hidden" ones. I'm imagining a query parameter for an npm token to the regular esm.sh package URL, which will then fetch the private package using the token, create a secret URL (e.g. the regular package URL with a random token appended), and redirect to this URL.
Do better alternatives exist? Is it a bad idea for some reason?
Beta Was this translation helpful? Give feedback.
All reactions