Laravel - Compiling Assets - Working With Scripts

Mix provides several features to help you work with your JavaScript files, such as compiling modern ECMAScript, module bundling, minification, and concatenating plain JavaScript files. Even better, this all works seamlessly, without requiring an ounce of custom configuration:

    
    mix.js('resources/js/app.js', 'public/js');
	

With this single line of code, you may now take advantage of: