We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72d5df commit 508ec46Copy full SHA for 508ec46
packages/vite/src/node/server/pluginContainer.ts
@@ -35,7 +35,6 @@ import { performance } from 'node:perf_hooks'
35
import type {
36
AsyncPluginHooks,
37
CustomPluginOptions,
38
- EmittedFile,
39
FunctionPluginHooks,
40
InputOptions,
41
LoadResult,
@@ -726,7 +725,8 @@ class PluginContext
726
725
return [...this._container.watchFiles]
727
}
728
729
- emitFile(_assetOrFile: EmittedFile): string {
+ // TODO: use EmittedFile type from rolldown
+ emitFile(_assetOrFile: any): string {
730
this._warnIncompatibleMethod(`emitFile`)
731
return ''
732
0 commit comments