Merge pull request #5588 from babel/xtuc-patch-2

Update transform-es2015-modules-commonjs doc
This commit is contained in:
Brian Ng 2017-04-05 09:48:14 -05:00 committed by GitHub
commit ae0681aa3f

View File

@ -82,7 +82,7 @@ Object.defineProperty(exports, "__esModule", {
});
```
In environments that don't support this you can enable loose mode on `babel-plugin-transform-es20150-modules-commonjs`
In environments that don't support this you can enable loose mode on `babel-plugin-transform-es2015-modules-commonjs`
and instead of using `Object.defineProperty` an assignment will be used instead.
```javascript