Skip to content

Commit 9665fb7

Browse files
committed
chore: make Plugin generic
1 parent 45f9e16 commit 9665fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import type { PreviewServerHook } from './preview'
3737
* If a plugin should be applied only for server or build, a function format
3838
* config file can be used to conditional determine the plugins to use.
3939
*/
40-
export interface Plugin extends RolldownPlugin {
40+
export interface Plugin<T = any> extends RolldownPlugin<T> {
4141
/**
4242
* Enforce plugin invocation tier similar to webpack loaders. Hooks ordering
4343
* is still subject to the `order` property in the hook object.

0 commit comments

Comments
 (0)