MZ 1.4.3 - SFX associated with MV animations won't deploy with "Exclude Unused Files"

Heya, sorry for the long title!

This has been mentioned a couple times around the board, but I just tested to confirm this so I figured I'd make a thread.

TLDR: Sound effects linked with MV-compatible animations won't deploy if you check "Exclude Unused Files".

How to replicate:

  1. Create a new MZ 1.4.0+ project (I tested this with 1.4.3).
  2. Delete all animations in the database, then make a new MV-compatible animation. Assign this animation lots of various sound effects. Make sure the animation is linked to a skill used by an actor!
  3. Deploy the project and check "Exclude Unused Files".
  4. In the deployed folder, any sound effects associated with the MV animation won't be deployed, making this animation unusable without crashing the game.

Original thread: https://forums.rpgmakerweb.com/threads/mz-1-4-3-sfx-associated-with-mv-animations-wont-deploy-with-exclude-unused-files.144473/