mirror of
https://github.com/2234839/web-font.git
synced 2026-05-16 02:38:11 +08:00
- 前端从 SolidJS 迁移到 Vue3 Composition API(<script setup lang="ts">) - 后端构建从 tsup 迁移到 tsdown,动态 import 改为静态以支持单文件输出 - FontSelector 添加 defineProps 修复下拉无选项问题 - StatsPanel 添加"服务状态"标题 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
import { defineConfig } from "tsdown";
|
||
|
||
export default defineConfig({
|
||
entry: ["backend/app.ts"],
|
||
format: ["cjs"],
|
||
clean: true,
|
||
sourcemap: true,
|
||
outDir: "dist_backend",
|
||
deps: {
|
||
/** 所有依赖都打进 bundle(LLRT scratch 镜像无 node_modules) */
|
||
alwaysBundle: [/.*/],
|
||
},
|
||
});
|