Browse Source

Fix: exclude certain extensions from source folder

SukkaW 2 years ago
parent
commit
0a974c9e9f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Build/build-common.ts

+ 2 - 1
Build/build-common.ts

@@ -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;
     }
     }