Using Laravel Mix with Webpack for All Your Assets

The Dreamer
Oct 10, 2017 · 1 min read
Image for post
Image for post

Laravel Mix provides a fluent API for defining Webpack build steps for your application using several common CSS and JavaScript pre-processors.

The lovely creators of Laravel Mix, put in the common webpack configurations and you can add more custom configurations if you wish.

This is especially wonderful for people that want to use webpack, but feel like configuring webpack is too difficult. Or maybe they wanted to use ES2016 but saw some complicated article about loaders and modules.

Laravel Mix allows you to use a single line to describe what you want and it’ll use it’s preconfigured settings to process it properly…

Source: Using Laravel Mix with Webpack for All Your Assets


Originally published at Stephen AfamO’s Blog.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store