I would like to use es6-module-loader polyfill with the "module" tag in the browser: https://github.com/ModuleLoader/es6-module-loader#module-tag
It works by moving all imported files, looking for import / export tags and translating them. Traceur is the default because babel no longer supports dynamic usage in the browser.
The problem is that traceur translates all es6 functions, while I want to block only import / export operations due to good support for es6 browser (Canary> 95% es6 is complete!)
I tried to turn off all the parameters that looked correct, see below, but failed .. many odd errors. I have not tried to use the earlier babel 5.x in the browser for translation.
Is there an easy way to get a <script src="module">job? I assume es6-module-loader is the best approach, but any suggestion is appreciated! Best set of trace options? Try babel 5.x?
System.traceurOptions = {arrowFunctions: false, blockBinding: false, classes: false, computedPropertyNames: false, defaultParameters: false, destructuring: false, forOf: false, generators: false, numericLiterals: false, propertyMethods: false, propertyNameShorthand: false, restParameters : false, spread: false, characters: false, templateLiterals: false, unicodeEscapeSequences: false, unicodeExpressions: false}