fix: check if postcss-import is already included in plugins#2440
fix: check if postcss-import is already included in plugins#2440piecyk wants to merge 1 commit intovitejs:mainfrom
Conversation
|
The |
hmm if someone has a custom plugin for resolving For example, importing json files that would be converted to custom properties require('postcss-import')({
path: ['src'],
load: loadContentWithJson,
}), |
|
I think it's better to
|
|
Hey @piecyk, would you like to keep this PR open to work in the future point on the suggested changes by Evan? We could create an enhancement issue if not tracking this improvement. |
|
@matias-capeletto Yes. @yyx990803 Thanks for replay 👍 I think having it other way around would be more flexible, it's more advance case. Would pass the Having separate If you still think that |
|
ping @yyx990803 |
|
Hey @piecyk, we are using GitHub's review requests when we need Evan's input so he can look at all the issues and PR that require his attention when he is focusing on Vite. There is no need to explicitly ping him with an extra message. |
|
@piecyk 👋 I currently just wanted to review/reproduce your PR and check if everything is working |
Ok, fyi requests was added after i did the ping 🤷♂️ |
hmm you can checkout branch from this PR https://github.com/piecyk/vite/tree/fix/css/check-for-import-plugin and use the css playground. For example adding the |
Hi, in cases when there is already defined
postcss-importin config plugins let's not add default one from vite