1
Reading the Ghost code, CMS platform based on Nodejs found a file with the following statement:
import Ember from 'ember';
import Resolver from 'ember/resolver';
import loadInitializers from 'ember/load-initializers';
import 'ghost/utils/link-component';
import 'ghost/utils/text-field';
import config from './config/environment';
I’ve already found something on the Internet about being ES6. But it is an application that is being used in production, an environment not very favorable to experiments like ES6. Now comes the doubts
They use some external library or it is on account of some already active Feature that enables the use of ES6?
PS: The ghost uses Ember as we can already see in this import and the file if you want to consult is this one, code for Ghost on Github
Ghost supports Node 0.12 and IO.js which are already (almost 100%) ES6. But possibly using one ES6-transpiler (ES6 to ES5 converter)
– Sergio