Build: Switch to esbuild (backport #12052 and #10006) (#12055)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-01-14 15:58:13 +08:00
1 parent 6ccc462409
commit cc6856ae20
26 files changed
+832 -1158

No files matched your search

-2
View File
@@ -28,14 +28,12 @@ async function writeFile(file, content) {
}
const PROJECT_ROOT = url.fileURLToPath(new URL("../../", import.meta.url));
const BUILD_CACHE_DIR = path.join(PROJECT_ROOT, ".cache");
const DIST_DIR = path.join(PROJECT_ROOT, "dist");
const WEBSITE_DIR = path.join(PROJECT_ROOT, "website");
export {
PROJECT_ROOT,
DIST_DIR,
BUILD_CACHE_DIR,
WEBSITE_DIR,
readJson,
writeJson,