feat: zeroRuntime (#54334)

* feat: zeroRuntime

* feat: generate full style

* feat: add antd.css into global css

* chore: revert site change

* docs: add docs

* chore: update scripts

* chore: add test
This commit is contained in:
MadCcc
2025-07-22 10:20:29 +08:00
committed by GitHub
parent f14a31b1c2
commit 751edfc336
32 changed files with 256 additions and 65 deletions

View File

@@ -7,7 +7,7 @@ type StyleFn = (prefix?: string) => void;
interface GenCssinjsOptions {
key: string;
render: (Component: React.FC, filepath: string) => void;
render?: (Component: React.FC, filepath: string) => void;
beforeRender?: (componentName: string) => void;
}