feat: call resolveId hooks for CSS urls#3032
Conversation
|
For reference, this PR has been discussed and approved in a team meeting. We need test cases to be able to merge. If someone wants to see this in, consider doing a PR to this branch with a test case, or sending a new PR starting from it to main |
|
Hey @aleclarson, I’m learning about Vite and wondering if you could help me understand the difference between
|
|
The vite/packages/vite/src/node/plugins/css.ts Lines 124 to 128 in 3e32369 It uses vite/packages/vite/src/node/config.ts Lines 315 to 318 in 3e32369 vite/packages/vite/src/node/config.ts Lines 322 to 335 in 3e32369 |
|
Thanks, @aleclarson. Does I was curious how they differed and also learning why they differed. |
|
I'm not clear on why
This is true, and a good point. We can probably remove the |
|
Superseded by #10555 |
Description
Allow for references to virtual modules in CSS
url(...)expressions.What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123).