-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v137 roadmap #932
Comments
Nice, I have been doing this manually by digging through the CDN and curling the required files. It might be nice to output the correct import map from this command... either as a file, or in the cli output for easy copying? |
@mashaal i agree, i think the cli should update the root |
This is a great idea! Would also be nice to install it with Go, and output/modify JSON import map files. |
This looks amazing. @ije it's similar to what you mentioned here #595 (reply in thread) a while back. Will the build command support the same package parameters as the CDN? and how will dependency resolution be managed? |
@dburles i think there will be a package.json like file, the CLI should resolve dependencies automatically. |
Compile esm.sh to a local CLI that builds esm on your computer
This is useful for people don't like loading JS files from a CDN, but want the esm version of a CJS module on NPM. The idea has been discussed on bsky:
Usage:
then you can import modules like:
with importmap:
Progress:
The text was updated successfully, but these errors were encountered: