-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid manifest with the latest mini-css-extract-plugin #39
Comments
@renchap I'm using I tried another webpack manifest plugin and I get the same result. This issue is not isolated to my plugin. |
@webdeveric had a quick look, maybe this approach is better? It looks like it fixes the issue also all your test pass 🤔 IMHO using |
Hmm maybe even simpler, only set name and originalName when extensions match |
@piecyk I'm trying it out locally. It looks promising. |
@renchap I have a fix in my Can you try it out and let me know how it works for you? npm install https://github.com/webdeveric/webpack-assets-manifest.git#dev |
Seems to work fine for me! 👍 |
@renchap The updated version has been published to npm. |
Good work @webdeveric 👍 |
After updating
mini-css-extract-plugin
from 0.4.2 to 0.4.3, the manifest is no longer valid.Assets referenced via the CSS are missing, and some assets are pointing to unrelated paths. For example (from the issue below):
With 0.4.2:
"images/create/wallet.png": "images/create/wallet.png"
With 0.4.3
"images/create/Create.scss": "images/create/wallet.png"
See webpack-contrib/mini-css-extract-plugin#177 (comment)
According to @evilebottnawi this is a problem with the manifest plugin, not the referenced change.
The text was updated successfully, but these errors were encountered: