# \#importmap

**URL:** https://discourse.threejs.org/tag/importmap/1230.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [CDN es6 module import requires importmap (Vanilla JS)](https://discourse.threejs.org/t/cdn-es6-module-import-requires-importmap-vanilla-js/68353)

<div class="topic-metadata">

**Author:** [@jikkuatwork](https://discourse.threejs.org/u/jikkuatwork)\
**Replies:** 25\
**Last updated:** [July 21, 2024, 8:33am UTC](https://discourse.threejs.org/t/cdn-es6-module-import-requires-importmap-vanilla-js/68353 "2024-07-21T08:33:55Z")

</div>

Description I am trying to use threejs in a vanilla page using es6 imports. But its weird that the latest version doesn’t work without importmap! Weirdly an old version’s importmap also works! Check these examples: Ol…

---

## [\[SOLVED\] Importmaps broken on Firefox... which now supports Importmaps?](https://discourse.threejs.org/t/solved-importmaps-broken-on-firefox-which-now-supports-importmaps/48413)

<div class="topic-metadata">

**Author:** [@whycobb](https://discourse.threejs.org/u/whycobb)\
**Replies:** 7\
**Last updated:** [March 24, 2024, 11:29pm UTC](https://discourse.threejs.org/t/solved-importmaps-broken-on-firefox-which-now-supports-importmaps/48413 "2024-03-24T23:29:03Z")

</div>

For future reference: Set up your importmaps ASAP in Firefox. It can break if you have too many other scripts that load first. Howdy, I’m building a page that renders a simple Three.JS scene, and it works great in Edge…

---

## [Firefox, Importmap Error, The specifier “three” was a bare](https://discourse.threejs.org/t/firefox-importmap-error-the-specifier-three-was-a-bare/48855)

<div class="topic-metadata">

**Author:** [@FuzzyWobble](https://discourse.threejs.org/u/FuzzyWobble)\
**Replies:** 5\
**Last updated:** [April 4, 2023, 8:12pm UTC](https://discourse.threejs.org/t/firefox-importmap-error-the-specifier-three-was-a-bare/48855 "2023-04-04T20:12:27Z")

</div>

“Uncaught TypeError: The specifier “three” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “…/” or “/”.” Using importmap, getting this error about half of the tim…

---

## [Why have /three/nodes/ instead of using /three/addons/?](https://discourse.threejs.org/t/why-have-three-nodes-instead-of-using-three-addons/46181)

<div class="topic-metadata">

**Author:** [@jimtea44](https://discourse.threejs.org/u/jimtea44)\
**Replies:** 3\
**Last updated:** [December 25, 2022, 4:06pm UTC](https://discourse.threejs.org/t/why-have-three-nodes-instead-of-using-three-addons/46181 "2022-12-25T16:06:35Z")

</div>

File: three.js/webgl\_nodes\_loader\_gltf\_transmission.html at 31d84e8cd349ac68d4f3c22a2a50c60cb73201b5 · mrdoob/three.js · GitHub \<script type="importmap"\> { "imports": { "three": "../build/three.module.js", "thr…

---

## [Why does Three.js require a import map?](https://discourse.threejs.org/t/why-does-three-js-require-a-import-map/40308)

<div class="topic-metadata">

**Author:** [@Michael\_Nicol](https://discourse.threejs.org/u/Michael_Nicol)\
**Replies:** 5\
**Last updated:** [July 16, 2022, 7:33am UTC](https://discourse.threejs.org/t/why-does-three-js-require-a-import-map/40308 "2022-07-16T07:33:12Z")

</div>

I am working with a project here: My index.ejs looks like this: maze3d-world/index.ejs at ff17df5887a9444ed88b2e2b2ff0e151652b3683 · michaelnicol/maze3d-world · GitHub \<!DOCTYPE html\> \<html\> \<head\> \<title\>Parc…

---

## [Use importmap for paths in examples/jsm/](https://discourse.threejs.org/t/use-importmap-for-paths-in-examples-jsm/37354)

<div class="topic-metadata">

**Author:** [@arodic](https://discourse.threejs.org/u/arodic)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 4:48pm UTC](https://discourse.threejs.org/t/use-importmap-for-paths-in-examples-jsm/37354 "2022-04-22T16:48:01Z")

</div>

Is there any way to use importmap to map all paths in examples/jsm? For example, in my typescript project I have: import { WebGLRenderer } from 'three'; import { EffectComposer } from 'three/examples/jsm/postprocessing…
