From a125bc431a8e7e7c043ecf63d1f05b215d4c0d08 Mon Sep 17 00:00:00 2001 From: Blake Bourque Date: Thu, 16 Jun 2022 13:37:22 -0400 Subject: [PATCH] Allow the browser build to be imported Adding this small change will allow cloudflare worker users to easily use the yargs-parser as a library. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 9cff4753..617ca2f5 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "require": "./build/index.cjs" }, "./build/index.cjs" + ], + "./browser": [ + "./browser.js" ] }, "type": "module",