import { StandardBrowserProfileName } from './browser.profile.name'; /** * Options for defining targets and their behavior */ export interface BabelTargetOptions { /** * Used to identify the target, and is appended to the filename of an asset if * {@link BabelTargetOptions.tagAssetsWithKey} is set to `true`. Defaults to the {@link BrowserProfileName}. */ key?: string; /** * Determines whether {@link BabelTargetOptions.key} is appended to the filename of this target's assets. Defaults to * `true` for {@link StandardBrowserProfileName.modern}, `false` for {@link StandardBrowserProfileName.legacy}. Only * one target can have this property set to `false`. */ tagAssetsWithKey?: boolean; /** * Determines the browser definitions used in `babel-loader`'s {@link BabelPresetOptions.targets.browsers}. * * Defaults: * {@link StandardBrowserProfileName.modern}: {@link DEFAULT_MODERN_BROWSERS} * {@link StandardBrowserProfileName.legacy}: {@link DEFAULT_LEGACY_BROWSERS} */ browsers?: string[]; /** * Determines whether this target can be referenced by a `