@builder/webpack-plugin-swc
Version:
swc module loader for webpack
15 lines (14 loc) • 426 B
TypeScript
import { Options } from '@builder/swc';
import webpack from 'webpack';
export interface MinifyPluginOptions extends Options {
sync?: boolean;
}
export declare class SWCMinifyPlugin {
private readonly sync;
private readonly options;
constructor(options?: MinifyPluginOptions);
apply(compiler: webpack.Compiler): void;
private transformAssets;
private processAssetsSync;
private processAssets;
}