rails / webpacker

Use Webpack to manage app-like JavaScript modules in Rails
MIT License
5.31k stars 1.47k forks source link

Webpacker 6 Disable Babel #3255

Closed alexvbush closed 2 years ago

alexvbush commented 2 years ago

How can I disable babel transpiling? I have a typescript application where I'm targeting newer browsers and don't need all the legacy browsers support.

justin808 commented 2 years ago

This should be configured with the babel.config.js.

Here's an example of how you can override the default setting. You can also create your own, fresh settings:

Closing in favor of #3155