Skip to content

fix: <style> tag HMR#2404

Merged
antfu merged 2 commits into
slidevjs:mainfrom
kermanx:fix/style-module-hmr
Dec 14, 2025
Merged

fix: <style> tag HMR#2404
antfu merged 2 commits into
slidevjs:mainfrom
kermanx:fix/style-module-hmr

Conversation

@kermanx

@kermanx kermanx commented Dec 10, 2025

Copy link
Copy Markdown
Member

pluginVue.transform(mainModule) must be called before pluginVue.load(styleModule) to update the internal cache of @vitejs/plugin-vue. Otherwise, the style module will be reloaded as the previous one.

@netlify

netlify Bot commented Dec 10, 2025

Copy link
Copy Markdown

Deploy Preview for slidev failed.

Name Link
🔨 Latest commit 7b906a4
🔍 Latest deploy log https://app.netlify.com/projects/slidev/deploys/69396dda4deb4900088faede

@pkg-pr-new

pkg-pr-new Bot commented Dec 10, 2025

Copy link
Copy Markdown

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/client@2404

create-slidev

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev@2404

create-slidev-theme

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev-theme@2404

@slidev/parser

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/parser@2404

@slidev/cli

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/cli@2404

@slidev/types

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/types@2404

commit: 7b906a4

@antfu
antfu merged commit 9a4bdee into slidevjs:main Dec 14, 2025
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants