Skip to content

Conversation

@kermanx
Copy link
Member

@kermanx kermanx commented Jul 20, 2024

Based on #1761. This PR will be much smaller after merging that.

close #1503,close #1626.

Usage docs

@netlify
Copy link

netlify bot commented Jul 20, 2024

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 7ef0831
🔍 Latest deploy log https://app.netlify.com/sites/slidev/deploys/669bdea5282c8c00080b9b12
😎 Deploy Preview https://deploy-preview-1767--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

const replaced = code.replace('if (_rerender_only)', 'if (false)')
if (replaced !== code)
return replaced
return code.replace('if (_rerender_only)', 'if (false)')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this get removed? In Vite plugin returning bullish value will bailout the transform process and will be more performant

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the module has been tested to be a slide module, it is almost impossible to not perform the replacement

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.

Pluggable Markdown transformers

2 participants