AnsweredAssumed Answered

How to use a polyfill when creating custom widget

Question asked by nathaniv@gmail.com on May 18, 2020
Latest reply on May 29, 2020 by harishp_Chetu

At the risk of getting yelled at or standing in a corner with a dunce cap while people point an yell 'noob'.....i recently worked on a custom widget.  however, there are a lot of template strings in there.  however, IE 11 doesn't support template strings.  either i have to go back and remove every back tick or i can try to use a polyfill.

 

for example, i'd like to use: 

<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.min.js"/>

i'm not sure where to place it within the widget project.  does it go in the html file, etc.  i think i may have saw something similar in the doc but i don't remember.  thanks in advance

Outcomes