Skip to content

Commit

Permalink
fix(exports): prefix relative paths with ./ (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 25, 2023
1 parent ffd4aaf commit cbbc519
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-terms-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/octicons': patch
---

prefix relative paths with `./` in ESM exports paths
4 changes: 2 additions & 2 deletions lib/octicons_react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cbbc519

Please sign in to comment.