@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) • 381 B
TypeScript
import { Compiler, Plugin } from 'webpack';
import { SafariNoModuleFixOption } from '../babel.multi.target.options';
export declare class SafariNoModuleFixPlugin implements Plugin {
private mode;
constructor(mode: SafariNoModuleFixOption);
apply(compiler: Compiler): void;
private initExternal;
private initHtmlUpdate;
private createSafariNoModuleFixTag;
}