ES6 to ES5 compiler in AEM | Adobe Higher Education
Skip to main content
khakiout
Level 2
February 18, 2016
解決済み

ES6 to ES5 compiler in AEM

  • February 18, 2016
  • 4 の返信
  • 5902 ビュー

Does anyone know a bundle/plugin for compiling ES6 to ES5 in AEM? Something that will work like the existing Adobe Granite UI Clientlibs - Less Compiler.

Our team is using React in our project and is using Babel to compile ES6/JSX files to ES5. What is your usual workflow for this?

Regards

このトピックへの返信は締め切られました。
ベストアンサー sunjot16

You can try babel.

The following article may be helpful:

https://blog.dniccumdesign.com/adding-babel-support-to-an-aem-instance/

4 の返信

smacdonald2008
Level 10
February 19, 2016

I have passed this question to support to see if there are some support KBs. This is not a common AEM request and there is no docs or community articles on this use case. 

khakiout
khakiout作成者
Level 2
February 22, 2016

Thank you, those JS files are actually being used on the front-end, but it makes sense to use it as well on the backend similar to how the Social Component Frameworks is created (via HandleBars)

sunjot16
Adobe Employee
sunjot16Adobe Employee回答
Adobe Employee
December 4, 2019

You can try babel.

The following article may be helpful:

https://blog.dniccumdesign.com/adding-babel-support-to-an-aem-instance/