UNPKG

@regru/webpack-babel-multi-target-plugin

Version:

A Webpack plugin that works with Babel to allow deployment of ES2015 builds targeted to modern browsers, with an ES5 fallback for legacy browsers.

11 lines (10 loc) 500 B
import { BabelPresetOptions } from 'babel-loader'; import { StandardTargetOptionsMap } from './babel.target.options'; export declare const DEFAULT_BABEL_PRESET_OPTIONS: BabelPresetOptions; export declare const DEFAULT_BABEL_PLUGINS: string[]; export declare const DEFAULT_MODERN_BROWSERS: string[]; export declare const DEFAULT_LEGACY_BROWSERS: string[]; export declare const DEFAULT_BROWSERS: { [profile: string]: string[]; }; export declare const DEFAULT_TARGET_INFO: StandardTargetOptionsMap;