Added support for exports option, matching compiler version