From cc171422c26130ef5c00cd667033700b95d1e70f Mon Sep 17 00:00:00 2001 From: Alex Holachek Date: Sun, 14 May 2023 21:34:22 -0400 Subject: [PATCH] add exports field to package.json for modern bundles --- packages/flip-toolkit/package.json | 1 + packages/react-flip-toolkit/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/flip-toolkit/package.json b/packages/flip-toolkit/package.json index b88813a..6ac0934 100644 --- a/packages/flip-toolkit/package.json +++ b/packages/flip-toolkit/package.json @@ -7,6 +7,7 @@ "main": "lib/index.js", "umd:main": "lib/index.umd.js", "module": "lib/index.es.js", + "exports": "./lib/index.modern.mjs", "repository": { "type": "git", "url": "https://github.com/aholachek/react-flip-toolkit" diff --git a/packages/react-flip-toolkit/package.json b/packages/react-flip-toolkit/package.json index 2eb819a..99a0173 100644 --- a/packages/react-flip-toolkit/package.json +++ b/packages/react-flip-toolkit/package.json @@ -7,6 +7,7 @@ "main": "lib/index.js", "module": "lib/index.es.js", "types": "lib/index.d.ts", + "exports": "./lib/index.modern.mjs", "amdName": "ReactFlipToolkit", "repository": { "type": "git",