From 6c7923963a5ebbf7b48a10cd4c5b28499c10e08c Mon Sep 17 00:00:00 2001 From: Joaqim Planstedt Date: Sat, 11 May 2024 15:35:31 -0700 Subject: [PATCH] Update package.json --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9f028ca..7728e36 100644 --- a/package.json +++ b/package.json @@ -5,17 +5,19 @@ "type": "commonjs", "exports": { "node": { - "require": "./dist/cjs/index.js", - "import": "./dist/esm/index.js" + "require": "./package/wrapper-es6.js", + "import": "./esm-wrapper/index.mjs" }, - "default": "./dist/esm/index.js" + "default": "./esm-wrapper/index.mjs" }, "main": "./dist/cjs/index.js", "types": "./dist/cjs/index.d.ts", "files": [ "./dist/cjs/index.js", "./dist/esm/index.js", - "./dist/cjs/index.d.ts" + "./dist/cjs/index.d.ts", + "./package/wrapper-es6.js", + "./esm-wrapper/index.mjs" ], "scripts": { "ts-types:esm": " tsc -p tsconfig.json --emitDeclarationOnly --outDir dist/esm",