From c2c8e524301f64dd8ec8460f2aeaef57563e3045 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 3 Jan 2015 05:23:12 +1100 Subject: [PATCH] add `modules` caveat - fixes #368 --- doc/caveats.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/caveats.md b/doc/caveats.md index e5668ecca2..4e953bd9d1 100644 --- a/doc/caveats.md +++ b/doc/caveats.md @@ -13,9 +13,12 @@ You may alternatively selectively include what you need: | Async functions, Generators | [experimental](experimental.md), [regenerator runtime](https://github.com/facebook/regenerator/blob/master/runtime.js) | | Comprehensions | [experimental](experimental.md), `Array.from` | | For Of | `Symbol`, `prototype[Symbol.iterator]` | +| Modules | `Object.assign`* | | Object spread/rest | [experimental](experimental.md), `Object.assign` | | Spread | `Array.from` | +*Only required for exporting a non-function `default` with additional `export`s. + ## ES5 Since 6to5 assumes that your code will be ran in an ES5 environment it uses ES5