diff --git a/.changeset/nasty-terms-enjoy.md b/.changeset/nasty-terms-enjoy.md new file mode 100644 index 000000000..b2fb15c7e --- /dev/null +++ b/.changeset/nasty-terms-enjoy.md @@ -0,0 +1,5 @@ +--- +'@primer/octicons': patch +--- + +prefix relative paths with `./` in ESM exports paths diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index e1c710fcb..f8ec01424 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -8,8 +8,8 @@ "main": "dist/index.umd.js", "module": "dist/index.esm.js", "exports": { - "import": "dist/index.esm.js", - "require": "dist/index.umd.js" + "import": "./dist/index.esm.js", + "require": "./dist/index.umd.js" }, "sideEffects": false, "types": "dist/index.d.ts",