April 3rd, 2023 × #javascript#webdev#tooling
The New Import Map Standard
Explains the new import maps standard for aliasing files and paths in JavaScript projects. Covers how to use them and browser support.
In this Hasty Treat, Scott and Wes talk about the fact that import maps are in Safari Technical preview, and what that means for web developers.
Show Notes
- 00:26 Welcome
- 02:16 Import maps just dropped
- 04:09 Which browsers support it?
- 06:01 What is a map?
- 06:40 How does the syntax work?
- 09:35 What about dependency resolution?
- 10:25 What about bundlers?
- 13:17 How does this work with Deno?
- Deno — A modern runtime for JavaScript and TypeScript
- Import Maps | Manual | Deno
- whatwg/fs · Issue #5 · wintercg/proposal-common-minimum-api
- 20:12 What about with node?
- Support import maps and bare import specifiers · Issue #43326 · microsoft/TypeScript
- Policies | Node.js v17.9.1 Documentation
- 21:22 What about Typescript?
- 22:43 Downsides to import maps
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets