Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sparkle] internal: refactor packaging, compile tsc & tailwind - take2 #6090

Merged
merged 16 commits into from
Sep 3, 2024

Conversation

tdraier
Copy link
Contributor

@tdraier tdraier commented Jul 5, 2024

fixes : #989

Description

Generate esm lib + cjs bundle.

CJS bundle still there as main entrypoint. Use module entrypoint to use esm.

In order to use, css need to be imported :
import "@dust-tt/sparkle/dist/sparkle.css"

-> https://github.com/dust-tt/dust/tree/fix/sparkle-usage-again

Risk

UI glitches and conflicts. Also check front-worker. Can be rollbacked easily.

Deploy Plan

Build and deploy sparkle , then use it in front

Deployed in alpha : @dust-tt/sparkle@0.2.187-esm

@tdraier tdraier requested a review from flvndvd August 12, 2024 07:05
Copy link
Contributor

@flvndvd flvndvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tdraier tdraier merged commit 0d5d939 into main Sep 3, 2024
3 checks passed
@tdraier tdraier deleted the sparkle-again branch September 3, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants