Skip to content

Commit

Permalink
fix: add missing exports field (#1943)
Browse files Browse the repository at this point in the history
Modern bundler settings require the exports field to be present. See #1941
  • Loading branch information
samuelstroschein committed Jun 10, 2023
1 parent 6d210a3 commit 9841b81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cst-dts-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"bugs": {
"url": "https://github.com/Chevrotain/chevrotain/issues"
},
"exports": {
".": "./lib/src/api.js"
},
"license": "Apache-2.0",
"typings": "lib/src/api.d.ts",
"main": "lib/src/api.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/gast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"bugs": {
"url": "https://github.com/Chevrotain/chevrotain/issues"
},
"exports": {
".": "./lib/src/api.js"
},
"license": "Apache-2.0",
"typings": "lib/src/api.d.ts",
"main": "lib/src/api.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"author": {
"name": "Shahar Soel"
},
"exports": {
".": "./lib/src/api.js"
},
"typings": "lib/src/api.d.ts",
"main": "lib/src/api.js",
"files": [
Expand Down

0 comments on commit 9841b81

Please sign in to comment.