Fixed it. Even though those files are not referenced anywhere inside the blueprints, they are still being compiled with the package for some reason.
I found the files in question, deleted them, and it now compiles.
I’m beginning to wonder if there is a way to package the project without including unreferenced assets