We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broken If the default is undefined.
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var foo = 'bar'; exports.foo = foo; module.exports = Object.assign(exports.default, exports);
babel index.js --presets es2015 --plugins add-module-exports > bundle.js # 'use strict'; # # Object.defineProperty(exports, "__esModule", { # value: true # }); # var foo = 'bar'; # exports.foo = foo; # module.exports = Object.assign(exports.default, exports); node bundle.js # module.exports = Object.assign(exports.default, exports); # ^ # TypeError: Cannot convert undefined or null to object # at Function.assign (native) # ...
The text was updated successfully, but these errors were encountered:
00042cc
No branches or pull requests
broken If the default is undefined.
The text was updated successfully, but these errors were encountered: