Skip to content

Commit

Permalink
feat: allow the browser build to be imported (#443)
Browse files Browse the repository at this point in the history
Adding this small change will allow cloudflare worker users to easily use the yargs-parser as a library.

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
TechplexEngineer and bcoe committed Jul 19, 2022
1 parent c474bc1 commit a89259f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -10,6 +10,9 @@
"require": "./build/index.cjs"
},
"./build/index.cjs"
],
"./browser": [
"./browser.js"
]
},
"type": "module",
Expand Down

0 comments on commit a89259f

Please sign in to comment.