Skip to content

Commit

Permalink
fix(build): patch PluginContext and TransformPluginContext types
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Mar 25, 2024
1 parent 5af6c06 commit 4394398
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/rollup.dts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ const identifierWithTrailingDollarRE = /\b(\w+)\$\d+\b/g
const identifierReplacements: Record<string, Record<string, string>> = {
rollup: {
Plugin$1: 'rollup.Plugin',
PluginContext$1: 'rollup.PluginContext',
TransformPluginContext$1: 'rollup.TransformPluginContext',
TransformResult$2: 'rollup.TransformResult',
},
esbuild: {
Expand Down

0 comments on commit 4394398

Please sign in to comment.