How do I add minified JS files to the Rails Webpacker
I am trying to add min.js files - and getting an error.
This works while adding a normal .js file:
The above code works. But when I try to add a min.js file it gives an error.
Can anyone share what the process is for adding min.js files to view via Rails Webpacker?
I made a stupid mistake!
Can call minified JS files also with the same way.