(_dir: string, _config: ResolvedForgeConfig)
| 28 | } |
| 29 | |
| 30 | init(_dir: string, _config: ResolvedForgeConfig): void { |
| 31 | // This logic ensures that we only call getHooks once regardless of how many |
| 32 | // times we trip hook logic in the PluginInterface. |
| 33 | this._resolvedHooks = this.getHooks(); |
| 34 | this.getHooks = () => this._resolvedHooks; |
| 35 | } |
| 36 | |
| 37 | getHooks(): ForgeMultiHookMap { |
| 38 | return {}; |