Skip to content
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

Development mode for esm.sh #2551

Open
MelvIsntNormal opened this issue Nov 7, 2023 · 5 comments
Open

Development mode for esm.sh #2551

MelvIsntNormal opened this issue Nov 7, 2023 · 5 comments
Assignees

Comments

@MelvIsntNormal
Copy link

I'm using jspm-cli to generate an import map using the esm.sh provider. Is there a way I can tell jspm to use development modules instead of production ones? Running jspm link <script> --provider esm.sh gives me an import map that points to production versions of the modules.

@JayaKrishnaNamburu
Copy link
Member

Can you try using the --env flag once
https://jspm.org/docs/jspm-cli/stable/#environments

@MelvIsntNormal
Copy link
Author

@JayaKrishnaNamburu Just tried using both --env development and --env dev, neither of them changed anything other than adding the argument to the env list. All the urls in the map still point to production versions of the packages

@JayaKrishnaNamburu
Copy link
Member

Maybe it's missing in the esm provider. Will check on this. If esm.sh provides any development mode builds

@MelvIsntNormal
Copy link
Author

Thanks, for reference I found out about the dev mode for esm.sh here

@JayaKrishnaNamburu
Copy link
Member

cool, i will take a look at it. And write back here. Thanks for the reference.

@JayaKrishnaNamburu JayaKrishnaNamburu self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants