only do the custom exports if not debug

this helps with the designer.