1 | import webpack = require('webpack');
|
2 | import { Service, TransformOptions } from 'esbuild';
|
3 | import { Except } from 'type-fest';
|
4 | export declare type Compiler = webpack.Compiler & {
|
5 | $esbuildService?: Service;
|
6 | };
|
7 | declare type Filter = string | RegExp;
|
8 | declare type FilterObject = {
|
9 | include?: Filter | Filter[];
|
10 | exclude?: Filter | Filter[];
|
11 | };
|
12 | export declare type LoaderOptions = Except<TransformOptions, 'sourcemap' | 'sourcefile'>;
|
13 | export declare type MinifyPluginOptions = Except<TransformOptions, 'sourcefile'> & FilterObject;
|
14 | export {};
|