feat: compile ts through tsdown (#18908)

* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
This commit is contained in:
DIYgod
2025-04-22 22:29:11 +08:00
committed by GitHub
parent ebae0a4b5b
commit 83e701b592
596 changed files with 211 additions and 1398 deletions
-2
View File
@@ -1,6 +1,4 @@
import { Route } from '@/types';
import { getCurrentPath } from '@/utils/helpers';
const __dirname = getCurrentPath(import.meta.url);
import { load } from 'cheerio';
import path from 'node:path';
-2
View File
@@ -1,6 +1,4 @@
import { Route, ViewType } from '@/types';
import { getCurrentPath } from '@/utils/helpers';
const __dirname = getCurrentPath(import.meta.url);
import { config } from '@/config';
import got from '@/utils/got';