Skip to content

Conversation

dan-lee
Copy link
Contributor

@dan-lee dan-lee commented Apr 17, 2024

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and couldn’t find anything (or linked relevant results below)
  • If applicable, I’ve added docs and tests

Description of changes

I have updated the docs for @mdx-js/rollup: I added the suggestion from vite-plugin-reacts include option by adding mdx to the list to enable HMR.

Without it, a full page reload is required, and it took me some time to figure that out. I think one almost always wants that to be enabled.

Signed-off-by: Dan <daniellehr@gmx.de>
Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mdx ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 11:53am

Copy link
Member

@wooorm wooorm left a comment

Choose a reason for hiding this comment

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

I’m fine having this, just a style nit

Co-authored-by: Titus <tituswormer@gmail.com>
Signed-off-by: Dan <daniellehr@gmx.de>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (908ff45) to head (756374d).
Report is 18 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2474   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         2693      2709   +16     
  Branches         2         2           
=========================================
+ Hits          2693      2709   +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wooorm wooorm changed the title Add include mdx to vite react plugin Add HMR to example of MDX w/ Vite Apr 17, 2024
@wooorm wooorm merged commit 51500e2 into mdx-js:main Apr 17, 2024
@wooorm
Copy link
Member

wooorm commented Apr 17, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 phase/solved Post is done
Development

Successfully merging this pull request may close these issues.

3 participants