mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-15 02:30:37 +08:00
Fix: exclude certain extensions from source folder
This commit is contained in:
parent
26655e6200
commit
0a974c9e9f
@ -26,7 +26,8 @@ export const buildCommon = task(import.meta.path, async () => {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (path.extname(entry.name) === '.js') {
|
const extname = path.extname(entry.name);
|
||||||
|
if (extname === '.js' || extname === '.ts') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user