Support the ongoing development of Laravel.io →
Configuration Cache Architecture

I am using Laravel 5.4 with mix to version my javascript and scss files. The problem is: it doesn't clean the previous built files and simply add a new one with a different file name i.e. app.9d3e179e85922aad6ccf.js

In a new project I started, I do not have this issue. Mix correctly replaces the old file with the latest built version.

Is there somewhere where I can make the change?

Last updated 3 years ago.
0

Follow the open issue on GitHub https://github.com/JeffreyWay/laravel-mix/issues/814.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

warrio4 warrio4 Joined 7 Feb 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.