Skip to content

Commit a89259f

Browse files
feat: allow the browser build to be imported (#443)
Adding this small change will allow cloudflare worker users to easily use the yargs-parser as a library. Co-authored-by: Benjamin E. Coe <[email protected]>
1 parent c474bc1 commit a89259f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"require": "./build/index.cjs"
1111
},
1212
"./build/index.cjs"
13+
],
14+
"./browser": [
15+
"./browser.js"
1316
]
1417
},
1518
"type": "module",

0 commit comments

Comments
 (0)