Skip to content

Commit

Permalink
Support TypeScript bundler module resolution
Browse files Browse the repository at this point in the history
Signed-off-by: guidsdo <[email protected]>
  • Loading branch information
guidsdo committed Jun 21, 2024
1 parent 7d4cea9 commit b385fba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/JavaScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,16 @@
"exports": {
".": {
"node": {
"types": "./src/antlr4/index.d.ts",
"import": "./dist/antlr4.node.mjs",
"require": "./dist/antlr4.node.cjs",
"default": "./dist/antlr4.node.mjs"
},
"browser": {
"types": "./src/antlr4/index.d.ts",
"import": "./dist/antlr4.web.mjs",
"require": "./dist/antlr4.web.cjs",
"default": "./dist/antlr4.web.mjs"
}
},
"types": "./src/antlr4/index.d.ts"
}
}
}

0 comments on commit b385fba

Please sign in to comment.