mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-10 20:02:54 +00:00
25 lines
681 B
TypeScript
25 lines
681 B
TypeScript
import type { Config } from "../types";
|
|
export declare function cool(options: Config.Options): (import("vite").Plugin<any> | Promise<import("vite").Plugin<any>> | {
|
|
name: string;
|
|
enforce: "pre";
|
|
config(): {
|
|
css: {
|
|
postcss: {
|
|
plugins: {
|
|
postcssPlugin: string;
|
|
prepare(): {
|
|
Rule(rule: any): void;
|
|
Declaration(decl: any): void;
|
|
};
|
|
}[];
|
|
};
|
|
};
|
|
};
|
|
transform(code: string, id: string): {
|
|
code: string;
|
|
map: {
|
|
mappings: string;
|
|
};
|
|
} | null;
|
|
}[])[];
|