mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Switch .gitignore back to blacklist
VS Code's search feature doesn't support .gitignore whitelisting. :( (Also don't compile .d.ts files.)
This commit is contained in:
parent
31fcd418ec
commit
6475e7a268
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -14,8 +14,14 @@ npm-debug.log
|
|||
package-lock.json
|
||||
/vendor/
|
||||
|
||||
/js/battle.js
|
||||
/js/
|
||||
/js/server/
|
||||
/js/*.js.map
|
||||
/js/battle*.js
|
||||
/js/panel*.js
|
||||
/js/replay-embed.js
|
||||
/js/client-main.js
|
||||
/js/client-core.js
|
||||
/js/client-connection.js
|
||||
|
||||
/replays/caches/
|
||||
/replays/replay-config.inc.php
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ function compileToDir(srcDir, destDir, opts = {}) {
|
|||
if (!relative.endsWith('.ts') && !relative.endsWith('.tsx')) {
|
||||
return 0;
|
||||
}
|
||||
if (relative.endsWith('.d.ts')) return 0;
|
||||
|
||||
relative = relative.slice(0, relative.endsWith('.tsx') ? -4 : -3) + '.js';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user