This pull request seeks to export module via module.exports instead of exports.default. In the former case this relies on the assignment of exports.__esModule to be inferred as a ES2015 import. This exists in the source repository but not in this fork:
Fixes #4
This pull request seeks to export module via
module.exports
instead ofexports.default
. In the former case this relies on the assignment ofexports.__esModule
to be inferred as a ES2015 import. This exists in the source repository but not in this fork:https://github.com/jruchaud/babel-gettext-plugin/blob/e202dab9fc116c49beaccff8c5c89a1be88aac5f/index.js#L24