From c2cc721d1dfd7d2356ad43dffa4c6cc9aa228563 Mon Sep 17 00:00:00 2001 From: Loriane Eymann <34451946+LorianeE@users.noreply.github.com> Date: Wed, 3 Jul 2024 19:32:11 +0200 Subject: [PATCH] fix(react-formio): add exports in package.json --- packages/react-formio/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-formio/package.json b/packages/react-formio/package.json index de764fa2..e3e3124f 100644 --- a/packages/react-formio/package.json +++ b/packages/react-formio/package.json @@ -4,6 +4,10 @@ "description": "Provide a react formio wrapper. Written in TypeScript.", "main": "dist/index.js", "module": "dist/index.modern.js", + "exports": { + "import": "dist/index.modern.js", + "require": "dist/index.js" + }, "source": "src/index.ts", "license": "MIT", "scripts": {