|
1 | 1 | { |
2 | | - "config-!~{00b}~.d.mts": { |
| 2 | + "config-!~{00e}~.d.mts": { |
3 | 3 | "defineConfig": "declare function defineConfig(_: UserConfigExport): UserConfigExport", |
4 | 4 | "mergeConfig": "declare function mergeConfig(_: InlineConfig, _: InlineConfig): InlineConfig", |
5 | 5 | "resolveUserConfig": "declare function resolveUserConfig(_: UserConfig, _: InlineConfig): Promise<ResolvedConfig[]>" |
|
13 | 13 | "mergeConfig" |
14 | 14 | ] |
15 | 15 | }, |
| 16 | + "css.d.mts": { |
| 17 | + "createCssPostHooks": "declare function createCssPostHooks(_: { css: { splitting: boolean; fileName: string } }, _: CssStyles): Pick<Required<Plugin>, 'renderChunk' | 'generateBundle'>", |
| 18 | + "CssStyles": "type CssStyles = Map<string, string>", |
| 19 | + "getEmptyChunkReplacer": "declare function getEmptyChunkReplacer(_: string[]): (_: string) => string", |
| 20 | + "RE_CSS": "RegExp", |
| 21 | + "removePureCssChunks": "declare function removePureCssChunks(_: Record<string, OutputChunk | OutputAsset>, _: CssStyles): void", |
| 22 | + "#exports": [ |
| 23 | + "CssOptions", |
| 24 | + "CssStyles", |
| 25 | + "LessPreprocessorOptions", |
| 26 | + "LightningCSSOptions", |
| 27 | + "PreprocessorAdditionalData", |
| 28 | + "PreprocessorAdditionalDataResult", |
| 29 | + "PreprocessorOptions", |
| 30 | + "RE_CSS", |
| 31 | + "ResolvedCssOptions", |
| 32 | + "SassPreprocessorOptions", |
| 33 | + "Sourcemap", |
| 34 | + "StylusPreprocessorOptions", |
| 35 | + "createCssPostHooks", |
| 36 | + "defaultCssBundleName", |
| 37 | + "getEmptyChunkReplacer", |
| 38 | + "removePureCssChunks", |
| 39 | + "resolveCssOptions" |
| 40 | + ] |
| 41 | + }, |
16 | 42 | "index.d.mts": { |
17 | 43 | "build": "declare function build(_: InlineConfig): Promise<TsdownBundle[]>", |
18 | 44 | "buildWithConfigs": "declare function buildWithConfigs(_: ResolvedConfig[], _: string[], _: () => void): Promise<TsdownBundle[]>", |
|
92 | 118 | "run.d.mts": { |
93 | 119 | "#exports": [] |
94 | 120 | }, |
95 | | - "types-!~{00a}~.d.mts": { |
| 121 | + "types-!~{00d}~.d.mts": { |
96 | 122 | "Arrayable": "type Arrayable<T> = T | T[]", |
97 | 123 | "AttwOptions": "interface AttwOptions extends CheckPackageOptions {\n profile?: 'strict' | 'node16' | 'esm-only'\n level?: 'error' | 'warn'\n ignoreRules?: string[]\n}", |
98 | 124 | "Awaitable": "type Awaitable<T> = T | Promise<T>", |
|
105 | 131 | "CopyEntry": "interface CopyEntry {\n from: string | string[]\n to?: string\n flatten?: boolean\n verbose?: boolean\n rename?: string | ((_: string, _: string, _: string) => string)\n}", |
106 | 132 | "CopyOptions": "type CopyOptions = Arrayable<string | CopyEntry>", |
107 | 133 | "CopyOptionsFn": "type CopyOptionsFn = (_: ResolvedConfig) => Awaitable<CopyOptions>", |
108 | | - "CssOptions": "interface CssOptions {\n splitting?: boolean\n fileName?: string\n preprocessorOptions?: PreprocessorOptions\n lightningcss?: LightningCSSOptions\n}", |
| 134 | + "CssOptions": "interface CssOptions {\n splitting?: boolean\n fileName?: string\n target?: string | string[] | false\n preprocessorOptions?: PreprocessorOptions\n minify?: boolean\n lightningcss?: LightningCSSOptions\n}", |
| 135 | + "defaultCssBundleName": "'style.css'", |
109 | 136 | "DepPlugin": "declare function DepPlugin(_: ResolvedConfig, _: TsdownBundle): Plugin", |
110 | 137 | "DepsConfig": "interface DepsConfig {\n neverBundle?: ExternalOption\n alwaysBundle?: Arrayable<string | RegExp> | NoExternalFn\n onlyAllowBundle?: Arrayable<string | RegExp> | false\n skipNodeModulesBundle?: boolean\n}", |
111 | 138 | "DevtoolsOptions": "interface DevtoolsOptions extends NonNullable<InputOptions['devtools']> {\n ui?: boolean | Partial<StartOptions>\n clean?: boolean\n}", |
|
115 | 142 | "globalLogger": "Logger", |
116 | 143 | "InlineConfig": "interface InlineConfig extends UserConfig {\n config?: boolean | string\n configLoader?: 'auto' | 'native' | 'unrun'\n filter?: RegExp | Arrayable<string>\n}", |
117 | 144 | "LessPreprocessorOptions": "interface LessPreprocessorOptions {\n additionalData?: PreprocessorAdditionalData\n math?: any\n paths?: string[]\n plugins?: any[]\n [key: string]: any\n}", |
118 | | - "LightningCSSOptions": "type LightningCSSOptions = Omit<TransformOptions<any>, 'filename' | 'code' | 'minify' | 'sourceMap' | 'inputSourceMap'>", |
| 145 | + "LightningCSSOptions": "type LightningCSSOptions = Record<string, any>", |
119 | 146 | "Logger": "interface Logger {\n level: LogLevel\n options?: LoggerOptions\n info: (...args: any[]) => void\n warn: (...args: any[]) => void\n warnOnce: (...args: any[]) => void\n error: (...args: any[]) => void\n success: (...args: any[]) => void\n clearScreen: (_: LogType) => void\n}", |
120 | 147 | "LoggerOptions": "interface LoggerOptions {\n allowClearScreen?: boolean\n customLogger?: Logger\n console?: Console\n failOnWarn?: boolean\n}", |
121 | 148 | "LogLevel": "type LogLevel = LogType | 'silent'", |
|
147 | 174 | "PublintOptions": "interface PublintOptions extends Omit<Options, 'pack' | 'pkgDir'> {}", |
148 | 175 | "ReportOptions": "interface ReportOptions {\n gzip?: boolean\n brotli?: boolean\n maxCompressSize?: number\n}", |
149 | 176 | "ReportPlugin": "declare function ReportPlugin(_: ResolvedConfig, _: boolean, _: boolean): Plugin", |
| 177 | + "resolveCssOptions": "declare function resolveCssOptions(_: CssOptions, _: string[]): ResolvedCssOptions", |
150 | 178 | "ResolvedConfig": "type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, 'workspace' | 'fromVite' | 'publicDir' | 'bundle' | 'removeNodeProtocol' | 'external' | 'noExternal' | 'inlineOnly' | 'skipNodeModulesBundle' | 'logLevel' | 'failOnWarn' | 'customLogger' | 'envFile' | 'envPrefix'>, 'globalName' | 'inputOptions' | 'outputOptions' | 'minify' | 'define' | 'alias' | 'onSuccess' | 'outExtensions' | 'hooks' | 'copy' | 'loader' | 'name' | 'banner' | 'footer' | 'checks'>, { entry: Record<string, string>; rawEntry?: TsdownInputOption; nameLabel: string | undefined; format: NormalizedFormat; target?: string[]; clean: string[]; pkg?: PackageJsonWithPath; nodeProtocol: 'strip' | boolean; logger: Logger; ignoreWatch: Array<string | RegExp>; deps: ResolvedDepsConfig; css: ResolvedCssOptions; dts: false | DtsOptions; report: false | ReportOptions; tsconfig: false | string; exports: false | ExportsOptions; devtools: false | DevtoolsOptions; publint: false | PublintOptions; attw: false | AttwOptions; unused: false | UnusedOptions; exe: false | ExeOptions }>", |
151 | | - "ResolvedCssOptions": "interface ResolvedCssOptions {\n splitting: boolean\n fileName: string\n preprocessorOptions?: PreprocessorOptions\n lightningcss?: LightningCSSOptions\n}", |
| 179 | + "ResolvedCssOptions": "interface ResolvedCssOptions {\n splitting: boolean\n fileName: string\n minify: boolean\n target?: string[]\n preprocessorOptions?: PreprocessorOptions\n lightningcss?: LightningCSSOptions\n}", |
152 | 180 | "ResolvedDepsConfig": "interface ResolvedDepsConfig {\n neverBundle?: ExternalOption\n alwaysBundle?: NoExternalFn\n onlyAllowBundle?: Array<string | RegExp> | false\n skipNodeModulesBundle: boolean\n}", |
153 | 181 | "RolldownChunk": "type RolldownChunk = (OutputChunk | OutputAsset) & { outDir: string }", |
154 | 182 | "RolldownContext": "interface RolldownContext {\n buildOptions: BuildOptions\n}", |
|
0 commit comments