3 ms·
It’s suprisingly difficiult to use use these tools just to bundle your code, but not transpile it down. I’ve seen code that transpired down to Es3, yet used we
by syspec 8y ago
It’s suprisingly difficiult to use use these tools just to bundle your code, but not transpile it down.
I’ve seen code that transpired down to Es3, yet used webgl
- piotrkaminski 8y ago> It’s suprisingly difficiult to use use these tools just to bundle your code, but not transpile it down. Isn't that what Rollup is for?
- oatmealsnap 8y agoWhy is it difficult? It's just a command line tool with a config file. I'm not familiar with this tool, but with Babel, you wouldn't use it to bundle your code. That's what Webpack/Rollup/Parcel is for. If you don't care about targeting older browsers, you can use ES Modules today without a bundler. Even dynamic imports work without transpiling or polyfilling.