Skip to content

Commit b6df9aa

Browse files
authored
fix(types): expose additional PluginContext types (vitejs#20129)
1 parent 1422395 commit b6df9aa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/vite/src/node/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ export type {
9797
DevEnvironmentOptions,
9898
ResolvedDevEnvironmentOptions,
9999
} from './config'
100-
export type { Plugin, PluginOption, HookHandler } from './plugin'
100+
export type {
101+
Plugin,
102+
PluginOption,
103+
HookHandler,
104+
ConfigPluginContext,
105+
MinimalPluginContextWithoutEnvironment,
106+
} from './plugin'
101107
export type { Environment } from './environment'
102108
export type { FilterPattern } from './utils'
103109
export type { CorsOptions, CorsOrigin, CommonServerOptions } from './http'

0 commit comments

Comments
 (0)