Skip to content

Commit 954d0f0

Browse files
authored
fix: missing browser field in package.json
1 parent 5fc2ee1 commit 954d0f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "index.js",
66
"repository": "[email protected]:napi-rs/package-template.git",
77
"license": "MIT",
8+
"browser": "browser.js",
89
"keywords": [
910
"napi-rs",
1011
"NAPI",
@@ -15,7 +16,8 @@
1516
],
1617
"files": [
1718
"index.d.ts",
18-
"index.js"
19+
"index.js",
20+
"browser.js"
1921
],
2022
"napi": {
2123
"binaryName": "package-template",

0 commit comments

Comments
 (0)