wrap production file, add amd/cjs export