Skip to content

Commit 37ba893

Browse files
committed
chore: update pnpm-lock.yaml
1 parent acdfc02 commit 37ba893

File tree

3 files changed

+529
-16
lines changed

3 files changed

+529
-16
lines changed

packages/plugin-vue/src/handleHotUpdate.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ export async function handleHotUpdate(
164164
// If the descriptor was created from transformed content (e.g., by UnoCSS vue-scoped),
165165
// we should update the main cache with the transformed descriptor instead of invalidating it.
166166
// This ensures that subsequent style block requests get the correct transformed content.
167-
const isTransformedContent = content !== fs.readFileSync(file, 'utf-8')
168-
if (isTransformedContent) {
167+
if (content !== fs.readFileSync(file, 'utf-8')) {
169168
// Use the descriptor created from transformed content
170169
cache.set(file, descriptor)
171170
} else {

playground/unocss-vue-scoped/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"unocss": "^66.4.2",
13+
"unocss": "^66.5.1",
1414
"vue": "catalog:"
1515
},
1616
"devDependencies": {
17-
"@types/node": "^22.16.5",
17+
"@types/node": "^22.18.1",
1818
"@vitejs/plugin-vue": "workspace:*"
1919
}
2020
}

0 commit comments

Comments
 (0)