Mix does not delete old versioned files when a new one is generated
See original GitHub issue- Laravel Mix Version: 0.11.4
- Node Version: v6.10.0
- NPM Version: 3.10.10
- OS: Windows 7 Ultimate 64x
Description:
When I’m using the version()
function, it doesn’t matter if I’m running in production mode or not, the old versioned files are not been deleted (BTW this is not a Laravel project)
Steps To Reproduce:
Put this setting in the webpack.mix.js
Issue Analytics
- State:
- Created 6 years ago
- Comments:56 (23 by maintainers)
Top Results From Across the Web
Mix does not delete old versioned files when a new one is ...
Yes, i can reproduce the issue, mix does not delete files if output folder is other than default (public/js). There are two possible...
Read more >Laravel mix versioning doesn't remove old built files
In a new project I started, I do not have this issue. Mix correctly replaces the old file with the latest built version....
Read more >Deleting object versions from a versioning-enabled bucket
To delete versioned objects permanently, you must use DELETE Object versionId . The following figure shows that deleting a specified object version permanently ......
Read more >How versioning works in lists and libraries
When versioning is enabled in a list or library, you can store, track, and restore items in a list and files in a...
Read more >Version Stacking and comparison
A: Yes, all assets types can be stacked with another asset of the same type. Q: Can I mix asset types in a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@warrio4 Things has changed since my comment. I would suggest to use clean-webpack-plugin
webpack-mix.js
This plugin play nice even in watch mode.@boyd91 0.11.4 is the most stable at the moment.