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
{{ message }}
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
using with file-loader, files are not builded if in cache, even if dist folder is empty #82
file-loader outputs all to assets folder. cache-loader used with file-loader.
While using with file-loader, if output directory does not content assets folder — get those files from cache and put in assets folder.
Actual Behavior
Webpack doesn't output assets folder, that shoul be generated by file-loader.
Activity
alexander-akait commentedon Jun 11, 2019
You don't need
cache-loaderonfile-loader, why you do this? Anyway it should works, please create minimum reproducible test repo, thanksEECOLOR commentedon Nov 24, 2019
I encountered the same problem with this config:
The comment from @evilebottnawi helped me to realize it should be this:
@evilebottnawi It might a good idea to mention in the readme that it should not be placed before any loader that has side effects like
emitFile.Rush commentedon Feb 23, 2020
It's needed if you have expensive plugins for optimizing images or other assets.
Akiq2016 commentedon Oct 27, 2020
https://github.com/Akiq2016/test-cache-loader
here is my minimum reproducible test repo
alexander-akait commentedon Oct 27, 2020
Please migrate on https://webpack.js.org/configuration/other-options/#cache