Don't copy TypeScript files into dist

This commit is contained in:
nachtjasmin 2023-08-14 14:16:35 +02:00
parent 4b3ee12671
commit ed27d25548
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ export const defaultBuildOptions = {
recursive: true,
// Return true if the file should be copied and false otherwise.
filter: (src) => !src.endsWith(".js"),
filter: (src) => !src.endsWith(/\.[jt]s/),
}),
],
};