I'm using the Vue CLI and have my project building with modern mode. I'm noticing that any of the JS files I include from node_modules from Vue files are minified but let, const, and arrow functions are not being replaced. This is the case even in my legacy bundles. My own JS files are processed correctly. All my Vue files process fine.
Anyone know how I can get Babel to process included JS files and not just minify them?
Thanks