We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14e3e8a commit a712eddCopy full SHA for a712edd
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "mapm",
3
- "version": "1.0.1",
+ "version": "1.0.2",
4
"description": "A package manager for import maps",
5
"main": "src/index.js",
6
"type": "module",
src/importmap.js
@@ -74,8 +74,8 @@ export class ImportMap {
74
}
75
76
this.map.imports[name] = url;
77
- this.map.imports[`${name}@${version}`] = url;
78
- //this.map.imports[`${name}/`] = `${url}/`;
+ this.map.imports[`${name}/`] = `${url}/`;
+ //this.map.imports[`${name}@${version}`] = url;
79
//this.map.imports[`${name}@${version}/`] = `${url}/`;
80
81
spinner?.succeed(`Added ${chalk.green(name)} -> ${chalk.underline(url)} to import map.`);
0 commit comments