phpStorm webpack creates unnecessary files on build


When I build the frontend in a project in phpStorm, I noticed it makes changes to my manifest.json for no reason...

It does this even if no code changes were made. For example, if I checkout a new branch and have a clean working tree, if I build the frontend I expect to see no changes in the frontend. However, what happens is that the manifest.json file will point at a renamed copy of any assets that were already there...

This behaviour does not happen for my colleagues, but our configurations are the same. We use node v10.24.1 as our interpreter.

Can someone shed some light on this behaviour? Many thanks in advance!


PhpStorm doesn't have any built-in functionality for building applications with webpack, you will face the same issue when running your build process in terminal, I believe. You have to check your build process configuration