Skip to content

Commit

Permalink
Update packages/vite/src/node/server/pluginContainer.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <[email protected]>
  • Loading branch information
patricklx and bluwy authored Nov 28, 2023
1 parent 0451150 commit 7ee5073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/src/node/server/pluginContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ee5073

Please sign in to comment.