4min chapter

Syntax - Tasty Web Development Treats cover image

The New Import Map Standard

Syntax - Tasty Web Development Treats

CHAPTER

How to Use Import Maps to Improve Your Project

import maps are the ability to define aliases for paths in Your project. This is a new web standard and you will be able to specify Either a folder so you could do like import utils forward slash Money or you can alias just a straightaway JavaScript files. If I want to import something from a local file or a Remote file I can just use that URL and the browser will know to Look at the import map and say ah they use the word utils or money or svelte here. But I know to actually go get it from this local or remote file yeah.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode