[Vuejs]-Prevent node package from causing an error in a different environment

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.

Leave a comment