I reduced HMR build time by roughly tenfold after swapping babel-loader to esbuild-loader in our Webpack React project. The problem: I haven't figured out how to replace the babel-plugin-styled-components ie how to add styled-components names as class names to dom elements for better development experience.
Would it be possible to build with esbuild and then somehow run the mentioned Babel plugin?
Thanks in advance!