Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Problems building packages using ES6

FOX007
Level 2
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
jantzen_belliston-Adobe
Correct answer by
Level 10
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

0 Replies
jantzen_belliston-Adobe
Correct answer by
Level 10
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

aseelund
Level 3
Level 3

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

jantzen_belliston-Adobe
Level 10
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.