From a89259ff41d6f5312b3ce8a30bef343a993f395a Mon Sep 17 00:00:00 2001 From: Blake Bourque Date: Tue, 19 Jul 2022 12:21:21 -0400 Subject: [PATCH] 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 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index cdc700a2..988e2ec0 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "require": "./build/index.cjs" }, "./build/index.cjs" + ], + "./browser": [ + "./browser.js" ] }, "type": "module",