One important aspect of babel-preset-env I think you missed: Browser Polyfills. TypeScript can transpile syntax down for older browsers, but it won't add runtime code to support something like String.prototype.replaceAll() in IE11
Indeed, I will update the post this weekend to add this point 👍
I thought that TypeScript added polyfills, but it doesn't and adding them is not trivial either.
Thanks !
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One important aspect of babel-preset-env I think you missed: Browser Polyfills. TypeScript can transpile syntax down for older browsers, but it won't add runtime code to support something like String.prototype.replaceAll() in IE11
Indeed, I will update the post this weekend to add this point 👍
I thought that TypeScript added polyfills, but it doesn't and adding them is not trivial either.
Thanks !