From b385fba44bf8c7afe7c9c33e3931fd416fb0f7c5 Mon Sep 17 00:00:00 2001 From: guidsdo Date: Fri, 21 Jun 2024 16:41:59 +0200 Subject: [PATCH] Support TypeScript bundler module resolution Signed-off-by: guidsdo --- runtime/JavaScript/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/JavaScript/package.json b/runtime/JavaScript/package.json index 6744ebb4a8..007e7ac436 100644 --- a/runtime/JavaScript/package.json +++ b/runtime/JavaScript/package.json @@ -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" } } }