Skip to content

Commit 91c1e26

Browse files
authored
Add path mapping for app directory in package.json (#4099)
1 parent 2a3934f commit 91c1e26

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.changeset/sunny-trams-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/view-components": patch
3+
---
4+
5+
Add path mapping for app directory in package.json

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"import": "./static/classnames.js",
1717
"require": "./static/classnames.cjs"
1818
},
19+
"./app/*": {
20+
"types": "./app/*.d.ts",
21+
"import": "./app/*.js",
22+
"default": "./app/*.js"
23+
},
1924
"./*": "./*"
2025
},
2126
"repository": "primer/view_components",

0 commit comments

Comments
 (0)