From 2dc6656f4ba081476cc230d8067c830ba078d2ea Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Thu, 27 Jul 2023 11:34:03 -0400 Subject: [PATCH] fix(bundling): add missing main export for @nx/vite (#18344) --- packages/vite/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/vite/package.json b/packages/vite/package.json index 59a2e6e432f2e..f8e01c2225658 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -45,9 +45,8 @@ "access": "public" }, "exports": { - "./package.json": { - "require": "./package.json" - }, + ".": "./index.js", + "./package.json": "./package.json", "./migrations.json": "./migrations.json", "./generators.json": "./generators.json", "./executors.json": "./executors.json",