Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(webpack): deterministic output when changing config
found through much testing, setting chunkIds and moduleIds to "deterministic" (which is the default in production) results in undeterministic behavior when making changes to the webpack config which don't result in any changes to the inherent content of processed files this seems to be because "deterministic" uses metadata about all configured module loaders there are in the webpack config when calculating the hash, so if you remove a loader which isn't doing anything, that change still results in a change to the module and chunk ids instead, using either "named" or "natural" ensures that such changes don't result in any changes to the webpack output this allows easy verification that modifications to the webpack config haven't changed any output with a simple diff
- Loading branch information