mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-20 16:44:38 +08:00
#### What type of PR is this? /area ui /kind improvement #### What this PR does / why we need it: Using rolldown-vite to improve the build speed of the UI project, but some features are still not supported and need to wait. before: <img width="953" alt="image" src="https://github.com/user-attachments/assets/551b202e-c486-44e9-9737-56de8e2a8ed2" /> after: <img width="881" alt="image" src="https://github.com/user-attachments/assets/5750d242-27d6-43e6-ab82-0c11644d4b35" /> #### Which issue(s) this PR fixes: Fixes # #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note None ```
11 lines
169 B
TypeScript
11 lines
169 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["./src/index.ts"],
|
|
format: ["esm"],
|
|
dts: {
|
|
tsgo: true,
|
|
},
|
|
exports: true,
|
|
});
|