6 Commits

Author SHA1 Message Date
Henry Zhu
0ff1f089bb Fix: use correct identifier in template - fixes T7509 (#3602) 2016-07-27 09:24:26 -04:00
Henry Zhu
253918c30f Fix buildExportAll to account for commonjs/amd/systemjs (#3591)
* Fix buildExportAll to account for commonjs/amd

If the re-exported module was generated with Babel and it is a commonjs or amd module and so is the current module, this will result in an attempt to redefine the __esModule property, which throws a runtime error.

* Add test: don't overwrite __esModule on re-export

(Failing.)

* fixup tests

* Add fix for systemjs
2016-07-23 13:21:07 -04:00
Guy Bedford
40c4e7c2ea Modules systemjs system global name, use strict wrapping (#3482)
* modules systemjs system global name, use strict wrapping

* document systemGlobal option in readme
2016-05-16 16:46:06 -04:00
guybedford
be2d85d688 use a _context object instead of a __moduleName argument 2015-12-31 17:11:51 +02:00
guybedford
40714d004c add __moduleName wrapper support 2015-12-18 20:42:35 +02:00
Sebastian McKenzie
15969a0904 move all plugin tests out of babel-core and into their appropriate folders 2015-11-08 23:04:10 -08:00