You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's improve on this PR to be able to use CopyWebpackPlugin AND add hashes to the destination files when needed: #409
For reference on how we could accomplish this, the ManifestPlugin can be used to produce hashed files for the CopyWebpackPlugin when needed (code from my personal website):
This function knows in advance that the only copied files are some images I had in a specific directory, but we can adapt this logic to fix hashes going into the manifest in a more general way.
With this, we could probably stop using the forked WebpackManifestPlugin, as @weaverryan said:
but I think maybe we don’t need that anymore, as the PR I linked to IS merged now
So we could probably require the plugin again at version 3.1.1 or higher
Let's improve on this PR to be able to use CopyWebpackPlugin AND add hashes to the destination files when needed: #409
For reference on how we could accomplish this, the ManifestPlugin can be used to produce hashed files for the CopyWebpackPlugin when needed (code from my personal website):
This function knows in advance that the only copied files are some images I had in a specific directory, but we can adapt this logic to fix hashes going into the manifest in a more general way.
With this, we could probably stop using the forked WebpackManifestPlugin, as @weaverryan said:
... and work our way from there.
So, to summarize, from @weaverryan :
So, things we could do:
The text was updated successfully, but these errors were encountered: