// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. import type { IRushPluginConfigurationBase } from '../../api/RushPluginsConfiguration'; import { type IPluginLoaderOptions, PluginLoaderBase } from './PluginLoaderBase'; /** * @internal */ export interface IBuiltInPluginConfiguration extends IRushPluginConfigurationBase { pluginPackageFolder: string; } /** * @remarks * Used to load plugins that are dependencies of Rush. */ export class BuiltInPluginLoader extends PluginLoaderBase { public readonly packageFolder: string; public constructor(options: IPluginLoaderOptions) { super(options); this.packageFolder = options.pluginConfiguration.pluginPackageFolder; } }