Skip to content

chore(v9 packages): Migrate to SWC browser matrix based transpilation#27036

Open
TristanWatanabe wants to merge 85 commits into
microsoft:masterfrom
TristanWatanabe:migrate-to-swc
Open

chore(v9 packages): Migrate to SWC browser matrix based transpilation#27036
TristanWatanabe wants to merge 85 commits into
microsoft:masterfrom
TristanWatanabe:migrate-to-swc

Conversation

@TristanWatanabe

@TristanWatanabe TristanWatanabe commented Mar 2, 2023

Copy link
Copy Markdown
Member

Changes:

Runs migrate-converged-package nx generator which makes changes below:

  1. Adds an .swcrc file to all v9 packages.
  2. Updates just.config.ts file to have all v9 packages opt in to new build:react-components task which will run swc transpilation.
  3. Updates .babelrc.json file to extend monorepo root .babelrc-v9.json file.
  4. Minor script and dependency updates to package.json which add @swc/helpers.

Related Issue(s)

TristanWatanabe and others added 30 commits January 26, 2023 18:38
…ed by v9 packages to transpile based on browser matrix
…' into use-swc-transpilation-tooling-updates
@fabricteam

fabricteam commented Mar 16, 2023

Copy link
Copy Markdown
Collaborator

🕵 FluentUI-v0 No visual regressions between this PR and main

@fabricteam

fabricteam commented Mar 16, 2023

Copy link
Copy Markdown
Collaborator

🕵 fluentuiv8 No visual regressions between this PR and main

@MLoughry MLoughry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Several Microsoft partners, including Outlook, support browsers that are not ES2020-complaint and may not transpile their dependencies for build performance reasons. I really think this change needs to wait until all partners are on board, rather than simply breaking them and saying "tough luck."

@Hotell

Hotell commented Mar 26, 2024

Copy link
Copy Markdown
Contributor

Our partners are not ready yet to make the change, we will circle back on this end of August 2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Blocked Resolution blocked by another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants