thetarnav / solid-devtools

Library of developer tools, reactivity debugger & Devtools Chrome extension for visualizing SolidJS reactivity graph
https://chrome.google.com/webstore/detail/solid-devtools/kmcfjchnmmaeeagadbhoofajiopoceel
MIT License
549 stars 23 forks source link

Move babel transforms into an independent subfolder. add babel transforms as part of the public api (for non-vite integrations) #295

Closed Alloyed closed 7 months ago

Alloyed commented 8 months ago

provides the tools for #37, #234 to be resolved by third parties.

This PR moves the 2 babel plugins (name and jsxTransform) into an independent folder and adds them to the exports of the package. This makes it possible for non-vite users to use these plugins in their own bundlers.

No plans on making a PR for esbuild or webpack though: we're using esbuild internally but we haven't found much value in making external plugins over just inlining all our babel plugins into our esbuild config.

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 505d48b087b94e237988f8248b4c7b6422f02445

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

This PR includes changesets to release 3 packages | Name | Type | | ------------------------- | ----- | | solid-devtools | Minor | | @solid-devtools/extension | Minor | | @solid-devtools/overlay | Minor |

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