UNPKG

@modern-js/module-tools

Version:

Simple, powerful, high-performance modern npm package development solution.

9 lines (8 loc) 409 B
import type { UserConfigExport } from '@modern-js/core'; import type { ModuleConfigParams, ModuleLegacyUserConfig } from '../types'; export declare const defineConfig: (config: UserConfigExport<ModuleConfigParams>) => UserConfigExport<ModuleConfigParams>; /** * @deprecated * Using defineConfig first. */ export declare const defineLegacyConfig: (config: ModuleLegacyUserConfig) => ModuleLegacyUserConfig;