KiYugadgeter
KiYugadgeter

Reputation: 4014

Can I develop Atom editor package with ES6? (not CoffeeScript)

Can I develop atom package with ES6?
I don't want to write CoffeeScript.

Atom reportedly using Chrome and V8, so I think it can use to develop package.

Upvotes: 1

Views: 301

Answers (1)

Michelle Tilley
Michelle Tilley

Reputation: 159095

Yes, Atom can compile CoffeeScript, TypeScript, or ES6 (via Babel). To use Babel, just put

'use babel'

at the top of your file. If you only use the subset of ES6 that the version of Chrome that Atom uses implements, you don't even need Babel.

Upvotes: 1

Related Questions