esnext / es6-module-transpiler

Tomorrow’s JavaScript module syntax today
http://esnext.github.io/es6-module-transpiler/
Other
1.21k stars 95 forks source link

Using es6-module-transpiler in conjunction with a classes transpiler #190

Open vnys opened 9 years ago

vnys commented 9 years ago

I’m using this module in a project where I also use classes, but can’t seem to find a good way to combine the module transpiler with a classes transpiler without messing up the source map or ending up with global variables outside the modules. I’m using Chromium 41 for testing, but it would be nice to reach a wider audience eventually 😉 Does anyone have a working example somewhere that’s not overly complicated? I use gulp btw…

caridy commented 9 years ago

yeah, we are aware of this situations, we need to work on this one first: https://github.com/benjamn/recast/issues/128

eventualbuddha commented 9 years ago

@batfink can you tell me a little bit about your setup? It may be that using 6to5 by itself will be suitable for your needs.