3 ms·
Three things need to be pointed out: 1. You can support IE11 without Babel (I got rid of it many years ago already): Typescript has transpilation, and you can
by wildpeaks 6y ago
Three things need to be pointed out:
1. You can support IE11 without Babel (I got rid of it many years ago already): Typescript has transpilation, and you can add polyfills
2. As much as I like JSDoc-augmented vanilla JS, it doesn't catch nearly as much as real TS
3. Webapps are made of more than just scripts, loaders are even the big reason why Webpack got popular initially. Luckily, Webpack 5 can automatically recognize assets referenced in "new URL()" calls, so you don't need types for images or shaders anymore.