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.

9 lines (8 loc) 295 B
import { Compiler, Plugin } from 'webpack'; /** * Gives names to lazy chunks (lazy routes) so their assets have recognizable names instead of just numbers. */ export declare class NamedLazyChunksPlugin implements Plugin { private getNameFromOrigins; apply(compiler: Compiler): void; }