Will .es6 and .es6.js extensions be necessary in Meteor 1.2?

Currently, using grigio:babel, one has to end their JS files in either .es6, .es6.js, or .jsx (default settings). In Meteor 1.2, will we still have to use these extensions, or can we just use .js?

Side note: We’ll still have to add ES6 support via meteor add ecmascript, correct?

(paging @sashko)

1 Like

Yes. It will overwrite the default compiler for .js files with the Babel transpiler. So, you can just use .js extensions.

4 Likes