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 1ad23c6 commit cf00d9cCopy full SHA for cf00d9c
packages/vite/src/node/server/pluginContainer.ts
@@ -552,7 +552,9 @@ class EnvironmentPluginContainer {
552
}
553
554
555
-class PluginContext implements Omit<RollupPluginContext, 'cache'> {
+class PluginContext
556
+ implements Omit<RollupPluginContext, 'cache' | 'emitChunk'>
557
+{
558
ssr = false
559
_scan = false
560
_activeId: string | null = null
@@ -870,7 +872,7 @@ class LoadPluginContext extends PluginContext {
870
872
871
873
class TransformPluginContext
874
extends LoadPluginContext
- implements Omit<RollupTransformPluginContext, 'cache'>
875
+ implements Omit<RollupTransformPluginContext, 'cache' | 'emitChunk'>
876
{
877
filename: string
878
originalCode: string
0 commit comments