We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
my css-loader config:
options: { url: (url) => { console.log('url', url); return !url.startsWith('/guide/img') }, modules: { localIdentName: '[path][name]__[local]--[hash:base64:5]' } }
background-image: url("/guide/img/banWord/addCoinDialogTitleBg.png");
expected : this url dont resolve. because this is http url 。full url likes "http://domain.com/guide/img/banWord/addCoinDialogTitleBg.png"
this url resolve. but, throw error 'Error: Can't resolve 'guide/img/banWord/addCoinDialogTitleBg.png''
I found url funciton was never called.
it sees like a bug.
The text was updated successfully, but these errors were encountered:
Here run https://github.com/webpack-contrib/css-loader/blob/master/src/utils.js#L107, it means you check is invalid, unfortunately you don't provide how we can reproduce it, so I can't say what is wrong
Sorry, something went wrong.
I added test(s) with your example and everything works well, something wrong with the config
Successfully merging a pull request may close this issue.
my css-loader config:
Expected Behavior
background-image: url("/guide/img/banWord/addCoinDialogTitleBg.png");
expected : this url dont resolve. because this is http url 。full url likes "http://domain.com/guide/img/banWord/addCoinDialogTitleBg.png"
Actual Behavior
this url resolve. but, throw error 'Error: Can't resolve 'guide/img/banWord/addCoinDialogTitleBg.png''
Other
I found url funciton was never called.
it sees like a bug.
The text was updated successfully, but these errors were encountered: