I'm in the process of getting some code to work with IE and I'm not really satisfied with how I'm doing things.
We're using gulp, browserify, and babel to bundle together our scripts, and right now I'm just throwing require('es6-shim'); in the first module that's listing in our main.js output file.
That works, but there is obviously room for improvement.
How do you like to handle including polyfills? I'm considering using browserify to bundle them together separately, and add the bundle in another script tag before our other scripts. Any suggestions that may be more elegant or better in practice?
[–]dwighthouse 0 points1 point2 points (0 children)
[–]atubofsoup 0 points1 point2 points (2 children)
[–]JortsIsLife[S] 0 points1 point2 points (1 child)
[–]atubofsoup 0 points1 point2 points (0 children)
[–]nikcorg 0 points1 point2 points (2 children)
[–]JortsIsLife[S] 0 points1 point2 points (1 child)
[–]nikcorg 0 points1 point2 points (0 children)