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
I’ve seen code that transpired down to Es3, yet used webgl
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.
Isn't that what Rollup is for?