Support for multiple main files and exportOverrides