Skip to content

Commit

Permalink
fix: add missing exports field
Browse files Browse the repository at this point in the history
Modern bundler settings require the exports field to be present. See Chevrotain#1941
  • Loading branch information
samuelstroschein committed Jun 6, 2023
1 parent 6d210a3 commit d025ffd
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 d025ffd

Please sign in to comment.