fix: don't include oxc native files in there

This commit is contained in:
2026-05-06 01:16:31 +07:00 Unverified
parent b9d0d293a4
commit a32172c3de
+2 -1
View File
@@ -9,7 +9,7 @@ console.log(
await Promise.all(
[...nativeFiles.scanSync()].map(async (f) => [
`src/${basename(f)}`,
file(f).size,
[file(f).size, f],
]),
),
),
@@ -26,5 +26,6 @@ build({
});
for (const f of nativeFiles.scanSync()) {
if (f.includes("@ox")) continue;
await write(`dist/${basename(f)}`, file(f));
}