Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Dec. 7th 2017

Learn Laravel Mix: Decoding Your NPM Scripts

Episode 2 Run Time 5:22

Download

Out of the box, you'll notice that Laravel includes a number of helpful NPM scripts for triggering webpack. To start, the most relevant ones are dev, watch, and prod. In this lesson, we'll decode these commands to ensure that you fully understand exactly what you're triggering.