Level 10
Someone else must have hit this problem?
I have a Laravel project where I have some JavaScript files that are ES6 written, for instance I use let. How can I compile this to be compliant to IE11? I assume I need to convert/compile it into ES5.
I came across this
npm install babel-preset-es2015
But I'm not sure if that's it and how to use it in Laravel mix?
Please or to participate in this conversation.