mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Fix: exclude certain extensions from source folder
This commit is contained in:
@@ -26,7 +26,8 @@ export const buildCommon = task(import.meta.path, async () => {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (path.extname(entry.name) === '.js') {
|
||||
const extname = path.extname(entry.name);
|
||||
if (extname === '.js' || extname === '.ts') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user