3 ms·
It's a good start to switch the extension name so you now in which files you can use es6... But as the other commenter said, all es5 JS is valid es6 JS...
by danieldisu 11y ago
It's a good start to switch the extension name so you now in which files you can use es6...
But as the other commenter said, all es5 JS is valid es6 JS...
- joshstrange 11y agoI'd shy away from this personally due to SVN issues with renames/moves (yes, yes git is better, I'm working on convincing the people who control that decision) along with the fact that you will have to do it all over again in a year or two unless you plan on always naming your JS that way. My biggest reason for even trying not to run them all through the transpiler was speed.