fix: don't include oxc native files in there
This commit is contained in:
@@ -9,7 +9,7 @@ console.log(
|
|||||||
await Promise.all(
|
await Promise.all(
|
||||||
[...nativeFiles.scanSync()].map(async (f) => [
|
[...nativeFiles.scanSync()].map(async (f) => [
|
||||||
`src/${basename(f)}`,
|
`src/${basename(f)}`,
|
||||||
file(f).size,
|
[file(f).size, f],
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -26,5 +26,6 @@ build({
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const f of nativeFiles.scanSync()) {
|
for (const f of nativeFiles.scanSync()) {
|
||||||
|
if (f.includes("@ox")) continue;
|
||||||
await write(`dist/${basename(f)}`, file(f));
|
await write(`dist/${basename(f)}`, file(f));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user