denoland / denoland/import_map
Strange key storage...
- Dominant language
- Rust
- Stars
- 34
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Given the import map of:
```json
{
"imports": {
"/~/": "./lib/"
}
}
```
One would expect the keys of import maps modules to be:
```rust
vec!["/~/"]
```
But instead, you will get:
```rust
vec!["file:///~/"]
```
I am not aware of anything in the spec that requires it to be that way, but I might be wrong.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Reproduce the import-map example and compare the stored module keys with the WICG Import Maps specification; done means determining whether the file:///~/ prefix is required and correcting the behavior or documenting the specification basis.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100