Skip to content

Commit

Permalink
fix: add exports type for lexer.asm.js (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy authored Jul 10, 2024
1 parent d70de9b commit 763a9cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"import": "./dist/lexer.js",
"require": "./dist/lexer.cjs"
},
"./js": "./dist/lexer.asm.js"
"./js": {
"types": "./types/lexer.d.ts",
"default": "./dist/lexer.asm.js"
}
},
"scripts": {
"build": "npm install -g chomp ; chomp build",
Expand Down

0 comments on commit 763a9cd

Please sign in to comment.