LottieFiles / dotlottie-web

Official LottieFiles player for rendering Lottie and dotLottie animations in the web. Supports React, Vue, Svelte, SolidJS and Web Components.
https://developers.lottiefiles.com/docs/dotlottie-player/
MIT License
191 stars 11 forks source link

refactor(solid): remove preset and simplify `tsup` configuration #373

Open moonlitgrace opened 1 month ago

moonlitgrace commented 1 month ago

Description

simplified tsup.config.ts config by removing tsup-preset-solid and utilizing esbuild-plugin-solid directly. only modified default values of tsup config. separate version of extended tsconfig.build.json for tsup build.

writing package.json on build step is not a necessary thing like tsup-preset-solid does.

✅ Tested with dotlottie-solid-example

Type of change

Checklist

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 9ae5f98d4e51646da4226cc9b83be1a43fd78e0d

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

This PR includes changesets to release 1 package | Name | Type | | ---------------------------- | ----- | | @lottiefiles/dotlottie-solid | 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