From 4dc672fc4ba5cbdb4ea46b1e526e56fbe84652ff Mon Sep 17 00:00:00 2001 From: John Marlo Lapiz <91590512+lazuee@users.noreply.github.com> Date: Thu, 16 Jan 2025 05:28:35 +0000 Subject: [PATCH] fix: correct identifier mappings for TransformResult in rollup and esbuild --- packages/vite/rollup.dts.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vite/rollup.dts.config.ts b/packages/vite/rollup.dts.config.ts index 46306f0a22d6b5..f1ba14b3b1dd63 100644 --- a/packages/vite/rollup.dts.config.ts +++ b/packages/vite/rollup.dts.config.ts @@ -50,10 +50,10 @@ const identifierReplacements: Record> = { Plugin$1: 'rollup.Plugin', PluginContext$1: 'rollup.PluginContext', TransformPluginContext$1: 'rollup.TransformPluginContext', - TransformResult$2: 'rollup.TransformResult', + TransformResult$1: 'rollup.TransformResult', }, esbuild: { - TransformResult$1: 'esbuild_TransformResult', + TransformResult$2: 'esbuild_TransformResult', TransformOptions$1: 'esbuild_TransformOptions', BuildOptions$1: 'esbuild_BuildOptions', },