From 7ee50734eb2226ab8a0d220a2c1d4f7afb89b7ae Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Tue, 28 Nov 2023 10:40:29 +0100 Subject: [PATCH] Update packages/vite/src/node/server/pluginContainer.ts Co-authored-by: Bjorn Lu --- packages/vite/src/node/server/pluginContainer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vite/src/node/server/pluginContainer.ts b/packages/vite/src/node/server/pluginContainer.ts index b3b325c1c28d68..45b2b9ff360f8d 100644 --- a/packages/vite/src/node/server/pluginContainer.ts +++ b/packages/vite/src/node/server/pluginContainer.ts @@ -292,13 +292,14 @@ export async function createPluginContainer( constructor(initialPlugin?: Plugin) { this._activePlugin = initialPlugin || null - this.load = this.load.bind(this) this.parse = this.parse.bind(this) this.resolve = this.resolve.bind(this) + this.load = this.load.bind(this) this.getModuleInfo = this.getModuleInfo.bind(this) this.getModuleIds = this.getModuleIds.bind(this) this.addWatchFile = this.addWatchFile.bind(this) this.getWatchFiles = this.getWatchFiles.bind(this) + this.emitFile = this.emitFile.bind(this) this.setAssetSource = this.setAssetSource.bind(this) this.getFileName = this.getFileName.bind(this) this.warn = this.warn.bind(this)