From 95c4b3c371dc7fb12c28cb1307f6f389887eb1e1 Mon Sep 17 00:00:00 2001 From: patak <583075+patak-dev@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:54:58 +0100 Subject: [PATCH] fix: cjs build for perEnvironmentState et al (#18656) --- packages/vite/src/node/publicUtils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vite/src/node/publicUtils.ts b/packages/vite/src/node/publicUtils.ts index a9cad7a5106db6..61786e487655c6 100644 --- a/packages/vite/src/node/publicUtils.ts +++ b/packages/vite/src/node/publicUtils.ts @@ -17,6 +17,8 @@ export { createFilter, rollupVersion, } from './utils' +export { perEnvironmentPlugin } from './plugin' +export { perEnvironmentState } from './environment' export { send } from './server/send' export { createLogger } from './logger' export { searchForWorkspaceRoot } from './server/searchRoot'