From b534b45a86e60b05e747c1612780a6ccd98265f1 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:16:31 +0900 Subject: [PATCH] refactor: remove `import` condition from `module-runner` export --- packages/vite/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/vite/package.json b/packages/vite/package.json index 1a98c7b17cef3b..58065aed7190c5 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -27,9 +27,7 @@ "./client": { "types": "./client.d.ts" }, - "./module-runner": { - "import": "./dist/node/module-runner.js" - }, + "./module-runner": "./dist/node/module-runner.js", "./dist/client/*": "./dist/client/*", "./types/*": { "types": "./types/*"