Currently I am using default webpack config of Create React App for babel transpilation. It seems that default babel-loader (in CRA config) uses "babel-preset-react-app". Now all I want is to prevent the transpilation of JS files to ES5 since I don't need to support Internet Explorer. I'm hoping this will bring some gain in the build time.
Versions being used:
- Webpack 4
- Babel Loader 8
- react-app-rewired 2.1
- customize-cra 0.9