fix runtime declaration inclusion copytext

This commit is contained in:
Sebastian McKenzie
2014-11-09 12:12:23 +11:00
parent dce41bb989
commit 3f4068ae00

View File

@@ -355,9 +355,9 @@ and an [ES6 polyfill](#polyfill) are required in order for generators to work.
## Runtime
6to5 has a few helper functions that'll be placed at the top of the generated
code so it's not inlined multiple times throughout that file. This may become an
issue if you have multiple files, especially when you're sending them to the
browser. gzip alleviates most of this concern but it's still not ideal.
code if needed so it's not inlined multiple times throughout that file. This may
become an issue if you have multiple files, especially when you're sending them
to the browser. gzip alleviates most of this concern but it's still not ideal.
You can tell 6to5 to not place any declarations at the top of your files and
instead just point them to a reference contained within the runtime.