Closed craigcosmo closed 7 years ago
I'm not seeing anything with a query string or hash. Are you saying that this example stops working only when you use the keepQuery option?
There's also a lot in webpack config that could be wrong. Can you confirm this works as a pure CSS file without SASS and resolve Url loaders?
Hi, With keepquery on, my file name game.png
should become like game.png?dr5t67u9ac343224
right? Or Am i misunderstanding?
Can you update your example to show such a query string. It is not in your CSS.
Can you clarify this, the keepquery
option is to keep the query string in file name intact, It does not generate query string for file name?
Now I understand, this is not a bug.
You are correct. The option only keeps the query or hash, it does not generate one.
This loader simply allows webpack to find your asset. Then loaders for the given asset type will run.
It sounds like you may want cache busting. If so then that can be done using the hash feature in the file loader.
my config
my css code
actual output
reproducing: https://github.com/craigcosmo/url-resolve-bug