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
I have been facing some issues going from dev to prod in my project.
The files are named with a contenthash variable at the end.
However, without specific configuration I end up with a filename like : /public/path/myfile.[contenthash:8].css
The contenthash is not capture and so I configured MiniCssExtractPluging in my webpack as:
However, this is still not working because the length of the contenthash is not 8 chars. Moreover, I would have expected same hash as the main entry it comes from, but this is not the case.
For instance, I have a "app" entry in my webpack configuration and files got a hash, the one from media-query-plugin another and they are not referenced in the entrypoint.json so I cannot use them. Any hint or solution maybe ?
The text was updated successfully, but these errors were encountered:
Hello @SassNinja,
I have been facing some issues going from dev to prod in my project.
The files are named with a contenthash variable at the end.
However, without specific configuration I end up with a filename like : /public/path/myfile.[contenthash:8].css
The contenthash is not capture and so I configured MiniCssExtractPluging in my webpack as:
However, this is still not working because the length of the contenthash is not 8 chars. Moreover, I would have expected same hash as the main entry it comes from, but this is not the case.
For instance, I have a "app" entry in my webpack configuration and files got a hash, the one from media-query-plugin another and they are not referenced in the entrypoint.json so I cannot use them. Any hint or solution maybe ?
The text was updated successfully, but these errors were encountered: