Skip to content

feat(CLI)!: adopt ESM for blocks and themes#1482

Merged
ragi96 merged 3 commits intodevfrom
feat/esm-block-theme
Mar 31, 2026
Merged

feat(CLI)!: adopt ESM for blocks and themes#1482
ragi96 merged 3 commits intodevfrom
feat/esm-block-theme

Conversation

@SamuelAlev
Copy link
Copy Markdown
Member

(based on dev branch, will do few alpha release before increasing the major)

@SamuelAlev SamuelAlev requested a review from ragi96 March 19, 2026 14:57
@SamuelAlev SamuelAlev self-assigned this Mar 19, 2026
@SamuelAlev SamuelAlev requested review from a team as code owners March 19, 2026 14:57
@SamuelAlev SamuelAlev requested review from michael-georgiadis and oliverschwendener and removed request for a team March 19, 2026 14:57
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 19, 2026

🦋 Changeset detected

Latest commit: 4fced25

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

This PR includes changesets to release 1 package
Name Type
@frontify/frontify-cli Major

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

Comment thread packages/cli/src/utils/compiler/compileBlock.ts
rolldownOptions: {
platform: 'browser',
treeshake: {
// TODO: Fix in Fondue
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// TODO: Fix in Fondue

I assume this one is fixed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Nope, I'll have to ask Noah to look into it

Copy link
Copy Markdown
Collaborator

@ragi96 ragi96 left a comment

Choose a reason for hiding this comment

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

Tested with react18 and react19 works perfectly fine.

Let's do an alpha release :)

@ragi96 ragi96 requested review from julianiff and mike85 and removed request for michael-georgiadis and oliverschwendener March 31, 2026 14:02
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'CLI'

Failed conditions
9.5% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube Cloud

Copy link
Copy Markdown
Collaborator

@mike85 mike85 left a comment

Choose a reason for hiding this comment

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

LGTM

@ragi96 ragi96 merged commit db8c298 into dev Mar 31, 2026
28 of 29 checks passed
@ragi96 ragi96 deleted the feat/esm-block-theme branch March 31, 2026 14:19
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.

5 participants