UNPKG

@winner-fed/bundler-webpack

Version:

@winner-fed/bundler-webpack

20 lines (19 loc) 520 B
import Config from '@winner-fed/bundler-webpack/compiled/webpack-5-chain'; import { Env, type IConfig } from '../types'; interface IOpts { config: Config; userConfig: IConfig; cwd: string; env: Env; host?: string; port?: number; } export declare function resolveDefine(opts: IOpts): { 'import.meta.env.DEV': string; 'import.meta.env.PROD': string; 'process.env': { [k: string]: string; }; }; export declare function addDefinePlugin(opts: IOpts): Promise<void>; export {};