Skip to content

Commit cbbc519

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

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/nasty-terms-enjoy.md

+5
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

+2-2
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)