We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2755282 commit bc349fdCopy full SHA for bc349fd
.changeset/great-geckos-marry.md
@@ -0,0 +1,5 @@
1
+---
2
+'@vanilla-extract/vite-plugin': patch
3
4
+
5
+Prevent unnecessary module invalidations when using PostCSS
packages/vite-plugin/src/index.ts
@@ -214,7 +214,7 @@ export function vanillaExtractPlugin({
214
if (
215
server &&
216
cssMap.has(absoluteId) &&
217
- cssMap.get(absoluteId) !== source
+ cssMap.get(absoluteId) !== cssSource
218
) {
219
const { moduleGraph } = server;
220
const modules = Array.from(
0 commit comments