Skip to content

Commit cbbc519

Browse files
authored
fix(exports): prefix relative paths with ./ (#905)
1 parent ffd4aaf commit cbbc519

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎.changeset/nasty-terms-enjoy.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/octicons': patch
3+
---
4+
5+
prefix relative paths with `./` in ESM exports paths

‎lib/octicons_react/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"main": "dist/index.umd.js",
99
"module": "dist/index.esm.js",
1010
"exports": {
11-
"import": "dist/index.esm.js",
12-
"require": "dist/index.umd.js"
11+
"import": "./dist/index.esm.js",
12+
"require": "./dist/index.umd.js"
1313
},
1414
"sideEffects": false,
1515
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)