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

Handle trailing-slash mappings in input map extraction #250

Open
Bubblyworld opened this issue Mar 6, 2023 · 0 comments
Open

Handle trailing-slash mappings in input map extraction #250

Bubblyworld opened this issue Mar 6, 2023 · 0 comments
Assignees
Labels
lowpriority A nice to have that isn't on the roadmap right now.

Comments

@Bubblyworld
Copy link
Contributor

Currently trailing-slash mappings like this stick around forever in the import map, since JSPM can't handle them and assumes they are custom mappings:

{
  "imports": {
    "pkg/": "./node_modules/pkg/"
  }
}

We should handle these similarly to how we handle flattened scopes in input map extraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lowpriority A nice to have that isn't on the roadmap right now.
Projects
None yet
Development

No branches or pull requests

1 participant