Update transform-es2015-modules-commonjs doc #5588

This commit is contained in:
Sven SAULEAU 2017-04-08 10:13:20 +02:00
parent fd3a2c285a
commit d40cb31685
No known key found for this signature in database
GPG Key ID: 7C3212582FBA1BA2

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