Plugin.registerCompiler({
  extensions: ['js'],
}, function () {
  return new BabelCompiler({
    asyncAwait: true,
    modules: true
  });
});

Plugin.registerCompiler({
  extensions: ['js'],
}, function () {
  return new BabelCompiler({
    asyncAwait: true,
    modules: true
  });
});

Plugin.registerCompiler({
  extensions: ['jsx'],
}, function () {
  return new BabelCompiler({
    asyncAwait: true,
    modules: true,
    react: true
  });
});

Make ecmascript package enable JSX syntax in .jsx files.
Make ecmascript package enable JSX syntax in .jsx files.
