Expand my Community achievements bar.

Adobe Summit 2025: AEP & RTCDP Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Problems building packages using ES6

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Level 3

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

Avatar

Employee

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.