DenoDDeno
Powered by
PixelP
Denoβ€’4y agoβ€’
3 replies
Pixel

How exactly do import maps work?

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

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

If I import
/a/b/c.js
/a/b/c.js
it imports from
./src/a/b/c.js
./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
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to define local import maps?
KawaxteKKawaxte / help
2y ago
Cannot use import maps
kingbriKkingbri / help
16mo ago
Override npm import dep with import maps?
ZabiZZabi / help
4y ago
Using esbuild with import maps
kebKkeb / help
3y ago