Closed indutny closed 7 years ago
module.exports = ... is very common. Do not print warning on this, or at least support code like:
module.exports = ...
module.exports = fn;
module.exports = { ... };
Without any other member assignments to exports.
exports
module.exports assignment is turned into info-level warning. Closing this issue to open module.exports = { ... } support request separately.
module.exports
info
module.exports = { ... }
module.exports = ...
is very common. Do not print warning on this, or at least support code like:Without any other member assignments to
exports
.