chrome-extension-tools icon indicating copy to clipboard operation
chrome-extension-tools copied to clipboard

fix: monorepo hmr

Open shuowu opened this issue 1 year ago • 4 comments
trafficstars

Fixes https://github.com/crxjs/chrome-extension-tools/issues/718

shuowu avatar Feb 18 '24 15:02 shuowu

🦋 Changeset detected

Latest commit: e3fafb3330dfcbfca36df650172542f0bed31b00

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@crxjs/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Feb 18 '24 15:02 changeset-bot[bot]

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

Name Status Preview Comments Updated (UTC)
vite-plugin-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 6:07pm

vercel[bot] avatar Feb 18 '24 15:02 vercel[bot]

Any update on this? Seems to fix the issues I have with properly detecting changes in components in the packages for turborepo

nicolasthy avatar Apr 25 '24 09:04 nicolasthy

Bump on this - it seems to work nicely to make HMR work in our monorepo :D

hansonw avatar Jun 03 '24 23:06 hansonw

@shuowu Awesome!

Using https://github.com/NiGhTTraX/ts-monorepo as a template, I added this pull request fix to the crxjs extension in the app folder using pnpm patch in order to test it. To test, clone https://github.com/adam-s/ts-monorepo/tree/extension and run the commands pnpm install and pnpm dev. The patch is against @crxjs/[email protected].

adam-s avatar Jul 05 '24 03:07 adam-s