jonbretman / amd-to-as6

Converts AMD modules into ES6 modules
165 stars 37 forks source link

Design question - why was acorn-jsx chosen instead the standard acorn parser #40

Open shanemcandrewai opened 3 years ago

shanemcandrewai commented 3 years ago

Hello,

I tried transpiling the Ace editor tree to ES6 but it failed due to several problems such as missing file extensions (.js) on the import module-names and Error: Dynamic module names are not supported, so I had to dig into the code which leads to my question - why was acorn-jsx chosen instead the standard acorn parser?