pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
3.74k stars 267 forks source link

fix: make `@uploadthing/shared` treeshakeable #808

Closed juliusmarminge closed 2 months ago

juliusmarminge commented 2 months ago

I made #806 thining it was just some missing sideEffects: false but this package did have side effects preventing it from being treeshakable...

vercel[bot] commented 2 months ago

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

Name Status Preview Comments Updated (UTC)
docs-uploadthing ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 9:00pm
changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: da2c15ae1ff19224bee1de59bfbf8d7b6cc51e74

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

This PR includes changesets to release 8 packages | Name | Type | | ------------------- | ----- | | uploadthing | Patch | | @uploadthing/shared | Patch | | with-novel | Patch | | @uploadthing/nuxt | Patch | | @uploadthing/react | Patch | | @uploadthing/solid | Patch | | @uploadthing/svelte | Patch | | @uploadthing/vue | 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

github-actions[bot] commented 2 months ago

A new canary is available for testing. You can install this latest build in your project with:

pnpm add @uploadthing/dropzone@0.4.2-canary.863ef96
pnpm add @uploadthing/mime-types@0.2.11-canary.863ef96
pnpm add @uploadthing/nuxt@6.5.6-canary.863ef96
pnpm add @uploadthing/react@6.5.5-canary.863ef96
pnpm add @uploadthing/shared@6.7.5-canary.863ef96
pnpm add @uploadthing/solid@6.4.5-canary.863ef96
pnpm add @uploadthing/svelte@6.5.5-canary.863ef96
pnpm add uploadthing@6.10.5-canary.863ef96
pnpm add @uploadthing/vue@6.5.5-canary.863ef96
github-actions[bot] commented 2 months ago

A new canary is available for testing. You can install this latest build in your project with:

pnpm add @uploadthing/dropzone@0.4.2-canary.455e533
pnpm add @uploadthing/mime-types@0.2.11-canary.455e533
pnpm add @uploadthing/nuxt@6.5.6-canary.455e533
pnpm add @uploadthing/react@6.5.5-canary.455e533
pnpm add @uploadthing/shared@6.7.5-canary.455e533
pnpm add @uploadthing/solid@6.4.5-canary.455e533
pnpm add @uploadthing/svelte@6.5.5-canary.455e533
pnpm add uploadthing@6.10.5-canary.455e533
pnpm add @uploadthing/vue@6.5.5-canary.455e533
github-actions[bot] commented 2 months ago

A new canary is available for testing. You can install this latest build in your project with:

pnpm add @uploadthing/dropzone@0.4.2-canary.2f38904
pnpm add @uploadthing/mime-types@0.2.11-canary.2f38904
pnpm add @uploadthing/nuxt@6.5.6-canary.2f38904
pnpm add @uploadthing/react@6.5.5-canary.2f38904
pnpm add @uploadthing/shared@6.7.5-canary.2f38904
pnpm add @uploadthing/solid@6.4.5-canary.2f38904
pnpm add @uploadthing/svelte@6.5.5-canary.2f38904
pnpm add uploadthing@6.10.5-canary.2f38904
pnpm add @uploadthing/vue@6.5.5-canary.2f38904