Skip to main content
Level 2
February 19, 2018
Solved

Problems building packages using ES6

When I use ES6 keywords such as const or let in my code the linter gives a warning and the build fails.  How do I go about fixing/addressing this?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
jantzen_b
jantzen_bAccepted solution
Adobe Employee
March 14, 2018

Launch supports IE10+ browsers so all code should be written with that in mind. Since ES6 isn't fully supported in IE10, you'd need to transcompile to an earlier version of JS.

3 replies

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAccepted solution
Adobe Employee
March 14, 2018

Launch supports IE10+ browsers so all code should be written with that in mind. Since ES6 isn't fully supported in IE10, you'd need to transcompile to an earlier version of JS.

Translate
aseelund
Level 3
March 20, 2018

Can the same be assumed for Target and using es6 in experiences?

Translate
jantzen_b
Adobe Employee
Adobe Employee
March 20, 2018

That is likely the case, but I'm not sure. I'd suggest posting a question in the Adobe Target community to see which version of JS they support.

Translate