diff --git a/package.json b/package.json index be7b3de1..50a1f614 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,15 @@ "version": "20.2.2", "description": "the mighty option parser used by yargs", "main": "build/index.cjs", - "exports": [ - { - "import": "./build/lib/index.js", - "require": "./build/index.cjs" - }, - "./build/index.cjs" - ], + "exports": { + ".": [ + { + "import": "./build/lib/index.js", + "require": "./build/index.cjs" + }, + "./build/index.cjs" + ] + }, "type": "module", "module": "./build/lib/index.js", "scripts": {