New issue
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
feat: add option to set cssPath
to false
#544
feat: add option to set cssPath
to false
#544
Conversation
Breaking the HMR is actually quite bad in term of DX 😬 Having an empty css file like we discussed in #543 keep the HMR working right? |
docs: update options.md
@Atinux I created an |
// @Atinux ping? |
Not sure to understand your answer @younho9 If you have an empty |
No.
|
So HMR is also broken with an empty CSS? |
In Screen.Recording.2022-10-19.at.1.00.28.AM.movFor HMR to work, it seems necessary to find the style block module that have tailwind directives. |
Co-authored-by: Younho Choo <yo+github@younho9.com>
resolve #543
If use
cssPath: false
option, tailwindcss path is unknown so Vite HMR is not available.