2020-08-18
2426
#vanilla javascript
Kasra Khosravi
23540
Aug 18, 2020 â‹… 8 min read

Using ES modules in browsers with import-maps

Kasra Khosravi Founder at FeedbackOnSite.co.

Recent posts:

​​How HTML’s Selectedcontent Element Improves Dropdowns

​​How HTML’s <selectedcontent> element improves dropdowns

is an experimental HTML element that gives developers control over how a selected option is displayed, using just HTML and CSS.

Temitope Oyedele
Jun 27, 2025 â‹… 6 min read
advanced caching in Node.js with Valkey

How to get faster data access in Node.js with Valkey

Learn how to implement an advanced caching layer in a Node.js app using Valkey, a high-performance, Redis-compatible in-memory datastore.

Muhammed Ali
Jun 27, 2025 â‹… 7 min read
how to properly handle rejected promises in TypeScript

How to properly handle rejected promises in TypeScript

Learn how to properly handle rejected promises in TypeScript using Angular, with tips for retry logic, typed results, and avoiding unhandled exceptions.

Lewis Cianci
Jun 26, 2025 â‹… 4 min read
Your AI Has Agency — Here’s How To Architect Its Frontend

Your AI has agency — here’s how to architect its frontend

AI’s not just following orders anymore. If you’re building the frontend, here’s how to design interfaces that actually understand your agent’s smarts.

Rosario De Chiara
Jun 25, 2025 â‹… 5 min read
View all posts

One Reply to "Using ES modules in browsers with import-maps"

  1. You have:

    After defining this map, you can directly import lodash anywhere in your code:

    import jQuery from ‘jquery’;

    did you mean

    import lodash from ‘lodash’;

    ?

    I don’t know what lodash is – does it have jquery in it?

Leave a Reply