-
-
Notifications
You must be signed in to change notification settings - Fork 384
When reading from webpack5 filesystem cache imported assets from css are not found #655
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
Comments
Yep, bug, |
Hmm hard to say where or how to start with this 🤔 Obvious workaround is to use file-loader/url-loader rather new assets. Also if someone want's to have a look added testes cases https://github.com/piecyk/mini-css-extract-plugin/tree/bugfix/655 can use this as base branch. |
I will send a fix today |
Hope, we don't break anything, anyway there is one way to check, release it 😄 |
@evilebottnawi works! Thanks 👏 |
This seems to have broken Webpack 4 compatibility. v1.3.0 works with Webpack 4 |
@Varedis when you speak it is broken please provide reproducible test repo, hard to say what is not working |
We have tests for v4 and all works fine, hard-source-webpack-plugin will be never compatibility with this |
Maybe this helps, I don't really have the time to make a test repo at the minute, sorry: using Using |
Please update webpack@4 to the latest stable version |
i.e. |
We try to avoid supporting old version of webpack, there are a lot of other bugs |
Expected Behavior
When webpack is running from cache, output is the same as without.
Actual Behavior
When reading from cache assets imported from css are not found.
Code
https://github.com/piecyk/mini-css-extract-plugin-asset-cache-bug
How Do We Reproduce?
The text was updated successfully, but these errors were encountered: