Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
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
Level 10

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
Level 10

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

Level 10

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.