Adding support for a define option that functions the same way as the old exports. Modifying the exports option to function like CommonJS exports.