Developing a web project in JavaScript ES6 , I am currently using Traceur to compile my modules from ES6 to ES5, thinking that in the future, when the browser supports ES6, I could skip this step of translation.
In the end, since I do not want to load several js fragments at startup, I have one file containing all my modules converted to ES5, thanks to Traceur.
But in order to confirm this choice, I was wondering if this is possible on the day when I will store the source in ES6. If I just concatenate them, the import and name conflicts will be invalid.
It seems that it was not designed for him, and for its proper combination will require an additional processing step.
How do we expect to process a single file with ES6 defined by several modules?
Jbe
source share