crxjs / chrome-extension-tools

Bundling Chrome Extensions can be pretty complex. It doesn't have to be.
https://crxjs.dev/vite-plugin
2.97k stars 191 forks source link

removing unnecessary v8 dependency #834

Open tstachl opened 1 year ago

tstachl commented 1 year ago

This fixes an issue with deno. Deno doesn't support v8.serialize and v8.deserialize, however both Deno and node have a native structuredClone method. Hence I removed the helper method.

Now it works with both node and deno.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 24dd859f5e5db956f6a4878ec74c9741d79ab4cc

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

vercel[bot] commented 1 year ago

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 Oct 27, 2024 0:42am