0๐
โ
I had a moment of clarity this morning and realized that when the user saves the page locally, Iโm already feeding them a separate clean template of a html file, so I ended up getting around the issue by including the script via good old <script src="browser-polyfill.min.js"></script>
instead of requiring it in the bundle and all I had to do was leave that out of the jsZipped html.
Source:stackexchange.com