Closed thecontrarycat closed 3 years ago
Webpack 5 uses a technique called realContentHash that changes a file's hash after it has been processed by our plugin. To fix this we can emit the temporary json file as an asset so that it gets updated with the new hashes.
See #25 for more information.
Just a heads up, I've been using this in anger this week and found a few issues.
I'm working on a better approach that doesn't rely upon writing out files or emitting assets.
Webpack 5 uses a technique called realContentHash that changes a file's hash after it has been processed by our plugin. To fix this we can emit the temporary json file as an asset so that it gets updated with the new hashes.
See #25 for more information.