Closed technicallyfeasible closed 9 years ago
Yes, for your 2. that's why we suggest to use full file name...or the omitted extension will cause ambiguous.
I will work on the defaultExtension option for this issue later, please wait for my update , thanks.
new version v0.2.3 released for this, thanks. The new option is options.transpile.babel.omitExt , please check README.md .
this allows require('./Component') to also find Component.jsx without explicitly adding the extension