Skip to content

Commit 5694d87

Browse files
Merge pull request #146 from kinday/typescript-bundler-resolution
Fix types resolution
2 parents 6f476d6 + bdae809 commit 5694d87

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/mighty-chairs-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@neo4j-cypher/editor-support": patch
3+
---
4+
5+
Update `exports` field to fix issue with TypeScript `Bundler` module resolution mode

packages/editor-support/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"exports": {
1313
".": {
1414
"import": "./es/editor-support.js",
15-
"require": "./lib/editor-support.js"
15+
"require": "./lib/editor-support.js",
16+
"types": "./src/editor-support.d.ts"
1617
},
1718
"./src/editor-support.d.ts": {
1819
"import": "./src/editor-support.d.ts"

0 commit comments

Comments
 (0)