From 08fdeefccb041df8d7cfef2bf3180876c3247df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= Date: Sun, 12 Jul 2020 20:30:59 +0200 Subject: [PATCH] fix: package distribution for today's bundlers fix #11 --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 317b084..3891f49 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,13 @@ "license": "MIT", "author": "Kristóf Poduszló ", "sideEffects": false, + "type": "module", "exports": { - "import": "./dist/esm/bundle.min.mjs", - "require": "./dist/cjs/bundle.min.js" + "import": "./dist/esm/bundle.min.js", + "require": "./dist/cjs/bundle.min.cjs" }, - "main": "./dist/cjs/bundle.min.js", - "module": "./dist/esm/bundle.min.mjs", + "main": "./dist/cjs/bundle.min.cjs", + "module": "./dist/esm/bundle.min.js", "types": "./dist/esm/bundle.min.d.ts", "files": [ "dist/",