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 authored and parrt committed Jul 25, 2024
1 parent caf46b9 commit 88a0c7a
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 88a0c7a

Please sign in to comment.