Skip to content

Commit

Permalink
Make it ESM.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-lischke committed Sep 7, 2023
1 parent ae371fb commit dbd500e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"grammar",
"parser"
],
"type": "commonjs",
"type": "module",
"main": "./lib/index.js",
"scripts": {
"build": "tsc",
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ The last two options potentially create a lot of output which can significantly
### 3.2.0

- A new [TypeScript runtime](https://github.com/mike-lischke/antlr4ng) powers this package now (antlr4ng).
- The package is now published as ES module, which is supported by all modern browsers and Node.js.

### 3.1.1

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"declaration": true,
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node",
"moduleResolution": "Node16",
"outDir": "lib",
"rootDir": ".",
"removeComments": false,
Expand Down

0 comments on commit dbd500e

Please sign in to comment.