Skip to content

Commit 143a969

Browse files
committed
fix: shared package for nodenext module resolution
Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr>
1 parent 83cd8e6 commit 143a969

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/shared/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"type": "git",
99
"url": "https://github.com/cloud-pi-native/console"
1010
},
11+
"exports": {
12+
".": {
13+
"types": "./types/index.d.ts",
14+
"import": "./dist/index.js",
15+
"require": "./dist/index.js"
16+
}
17+
},
1118
"main": "dist/index.js",
1219
"module": "dist/index.js",
1320
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)