mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 05:58:08 -05:00
This replaces the old approach with a new "clear everything except a whitelist" approach, which should overall involve much less code and lead to fewer bugs of the "the path changed for a module and I forgot to update the uncache paths" variety. I considered a lot of other approaches, but they seem to have more flaws without any advantages in exchange for them. (We moved away from `uncacheTree` because it only tracks the first require: there's no way to get a full list of dependents for a module, only its first dependent.) |
||
|---|---|---|
| .. | ||
| abilities | ||
| items | ||
| misc | ||
| moves | ||
| tools | ||
| choice-parser.js | ||
| data.js | ||
| decisions.js | ||
| dex.js | ||
| events.js | ||
| team-validator.js | ||