diff --git a/packages/vite/src/node/server/pluginContainer.ts b/packages/vite/src/node/server/pluginContainer.ts index 6374e44826c9f3..b3b325c1c28d68 100644 --- a/packages/vite/src/node/server/pluginContainer.ts +++ b/packages/vite/src/node/server/pluginContainer.ts @@ -295,11 +295,16 @@ export async function createPluginContainer( this.load = this.load.bind(this) this.parse = this.parse.bind(this) this.resolve = this.resolve.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.setAssetSource = this.setAssetSource.bind(this) this.getFileName = this.getFileName.bind(this) this.warn = this.warn.bind(this) this.error = this.error.bind(this) + this.debug = this.debug.bind(this) + this.info = this.info.bind(this) } parse(code: string, opts: any = {}) {