diff --git a/js-packages/@fortawesome/fontawesome-svg-core/index.es.js b/js-packages/@fortawesome/fontawesome-svg-core/index.mjs similarity index 100% rename from js-packages/@fortawesome/fontawesome-svg-core/index.es.js rename to js-packages/@fortawesome/fontawesome-svg-core/index.mjs diff --git a/js-packages/@fortawesome/fontawesome-svg-core/package.json b/js-packages/@fortawesome/fontawesome-svg-core/package.json index 79c40da56..4a72af5bb 100644 --- a/js-packages/@fortawesome/fontawesome-svg-core/package.json +++ b/js-packages/@fortawesome/fontawesome-svg-core/package.json @@ -26,35 +26,35 @@ "version": "6.1.1", "name": "@fortawesome/fontawesome-svg-core", "main": "index.js", - "module": "index.es.js", - "jsnext:main": "index.es.js", + "module": "index.mjs", + "jsnext:main": "index.mjs", "style": "styles.css", "license": "MIT", "types": "./index.d.ts", "exports": { ".": { - "module": "./index.es.js", - "import": "./index.es.js", + "module": "./index.mjs", + "import": "./index.mjs", "require": "./index.js", "style": "./styles.css", "default": "./index.js" }, "./index": { - "module": "./index.es.js", - "import": "./index.es.js", + "module": "./index.mjs", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index.js": { - "module": "./index.es.js", - "import": "./index.es.js", + "module": "./index.mjs", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./plugins": { - "module": "./plugins.es.js", - "import": "./plugins.es.js", - "default": "./plugins.es.js" + "module": "./plugins.mjs", + "import": "./plugins.mjs", + "default": "./plugins.mjs" }, "./import.macro": "./import.macro.js", "./import.macro.js": "./import.macro.js", @@ -64,7 +64,7 @@ }, "sideEffects": [ "./index.js", - "./index.es.js", + "./index.mjs", "./styles.css" ], "scripts": { diff --git a/js-packages/@fortawesome/fontawesome-svg-core/plugins.es.js b/js-packages/@fortawesome/fontawesome-svg-core/plugins.mjs similarity index 100% rename from js-packages/@fortawesome/fontawesome-svg-core/plugins.es.js rename to js-packages/@fortawesome/fontawesome-svg-core/plugins.mjs diff --git a/js-packages/@fortawesome/free-brands-svg-icons/index.es.js b/js-packages/@fortawesome/free-brands-svg-icons/index.mjs similarity index 100% rename from js-packages/@fortawesome/free-brands-svg-icons/index.es.js rename to js-packages/@fortawesome/free-brands-svg-icons/index.mjs diff --git a/js-packages/@fortawesome/free-brands-svg-icons/package.json b/js-packages/@fortawesome/free-brands-svg-icons/package.json index 241f7d43d..96c4505cd 100644 --- a/js-packages/@fortawesome/free-brands-svg-icons/package.json +++ b/js-packages/@fortawesome/free-brands-svg-icons/package.json @@ -26,24 +26,24 @@ "version": "6.1.1", "name": "@fortawesome/free-brands-svg-icons", "main": "index.js", - "module": "index.es.js", - "jsnext:main": "index.es.js", + "module": "index.mjs", + "jsnext:main": "index.mjs", "license": "(CC-BY-4.0 AND MIT)", "types": "./index.d.ts", "sideEffects": false, "exports": { ".": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index.js": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, diff --git a/js-packages/@fortawesome/free-regular-svg-icons/index.es.js b/js-packages/@fortawesome/free-regular-svg-icons/index.mjs similarity index 100% rename from js-packages/@fortawesome/free-regular-svg-icons/index.es.js rename to js-packages/@fortawesome/free-regular-svg-icons/index.mjs diff --git a/js-packages/@fortawesome/free-regular-svg-icons/package.json b/js-packages/@fortawesome/free-regular-svg-icons/package.json index 28897e8e4..ebb6d7d64 100644 --- a/js-packages/@fortawesome/free-regular-svg-icons/package.json +++ b/js-packages/@fortawesome/free-regular-svg-icons/package.json @@ -26,24 +26,24 @@ "version": "6.1.1", "name": "@fortawesome/free-regular-svg-icons", "main": "index.js", - "module": "index.es.js", - "jsnext:main": "index.es.js", + "module": "index.mjs", + "jsnext:main": "index.mjs", "license": "(CC-BY-4.0 AND MIT)", "types": "./index.d.ts", "sideEffects": false, "exports": { ".": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index.js": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, diff --git a/js-packages/@fortawesome/free-solid-svg-icons/index.es.js b/js-packages/@fortawesome/free-solid-svg-icons/index.mjs similarity index 100% rename from js-packages/@fortawesome/free-solid-svg-icons/index.es.js rename to js-packages/@fortawesome/free-solid-svg-icons/index.mjs diff --git a/js-packages/@fortawesome/free-solid-svg-icons/package.json b/js-packages/@fortawesome/free-solid-svg-icons/package.json index 983947226..22bbb871b 100644 --- a/js-packages/@fortawesome/free-solid-svg-icons/package.json +++ b/js-packages/@fortawesome/free-solid-svg-icons/package.json @@ -26,24 +26,24 @@ "version": "6.1.1", "name": "@fortawesome/free-solid-svg-icons", "main": "index.js", - "module": "index.es.js", - "jsnext:main": "index.es.js", + "module": "index.mjs", + "jsnext:main": "index.mjs", "license": "(CC-BY-4.0 AND MIT)", "types": "./index.d.ts", "sideEffects": false, "exports": { ".": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" }, "./index.js": { - "import": "./index.es.js", + "import": "./index.mjs", "require": "./index.js", "default": "./index.js" },