From 26efbd5c5e5d68017c036a991b12063c2f739034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Tue, 9 Mar 2021 23:36:42 +0100 Subject: [PATCH 1/2] :wrench: config(package.json): Attempt to fix exports. --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 083df24..7af7098 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,15 @@ "main": "dist/index.js", "module": "dist/index.module.js", "unpkg": "dist/index.umd.js", - "exports": "./dist/index.modern.js", + "umd:main": "dist/index.umd.js", + "exports": { + ".": { + "browser": "./dist/index.module.js", + "umd": "./dist/index.umd.js", + "require": "./dist/index.js", + "default": "./dist/index.modern.js" + } + }, "files": [ "dist" ], From 19fda2b5b85ca0cce126c96250fc036130d5c8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Tue, 9 Mar 2021 23:37:35 +0100 Subject: [PATCH 2/2] :hatching_chick: release: Bumping to v0.2.1. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7af7098..183bd61 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@aureooms/js-topological-sorting", "description": "Topological sorting for JavaScript", - "version": "0.2.0", + "version": "0.2.1", "license": "AGPL-3.0", "author": "aureooms", "homepage": "https://aureooms.github.io/js-topological-sorting",