safe commonjs export in bin/bundle