From 123caf4688292b9287d1c36510e37ea149079e1c Mon Sep 17 00:00:00 2001 From: Ehsan Heydari <19144304+ehsan-github@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:23:18 +0200 Subject: [PATCH] fix(build): build for es modules after vite 5 (#657) --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7a787ed8e..3ec0c1090 100644 --- a/package.json +++ b/package.json @@ -11,17 +11,17 @@ "url": "https://github.com/logicalclocks/quartz.git" }, "type": "module", - "main": "./dist/index.mjs", - "module": "./dist/index.mjs", + "main": "./dist/index.js", + "module": "./dist/index.js", "types": "./dist/index.d.ts", "source": "src/index.ts", "exports": { ".": { - "import": "./dist/index.mjs", + "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./chakra": { - "import": "./dist/chakra.mjs", + "import": "./dist/chakra.js", "types": "./dist/chakra.d.ts" } },