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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow jsr packages to be mapped #398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maraisr
Copy link

@maraisr maraisr commented Mar 30, 2024

When wanting to map jsr packages to npm it would be nice to not crash.

example

await build({
  // ...
  mappings: {
    'jsr:@mr/object-identity': {
      name: 'object-identity',
      version: '^1'
    }
  } 
});
$ deno task build
error: Uncaught (in promise) "The following specifiers were indicated to be mapped to a package, but were not found:\n  * file:///Users/stuff/jsr:@mr/object-identity"

I am not 100% sure this will fix the issue, but sounds promising 馃檹馃徎

@CLAassistant
Copy link

CLAassistant commented Mar 30, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

None yet

2 participants