Add logic to write exports to a file and include in the manifest.