PixelP
Denoβ€’4y agoβ€’
3 replies
Pixel

How exactly do import maps work?

My import map works but I don't understand how!

"/": "./src/",
"./": "./",

If I import /a/b/c.js it imports from ./src/a/b/c.js. I like this.

However, I have no idea about how this works! Could someone explain please? I like to understand what my code does and it bugs me if I don't :p
Was this page helpful?