-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
Area: Build SystemResolution: Soft CloseSoft closing inactive issues over a certain periodSoft closing inactive issues over a certain periodStatus: BlockedResolution blocked by another issueResolution blocked by another issueType: Epic
Description
ISSUE
Migrate v9 transpilation tooling to be based on browser support matrix. Use either swc or babel to replace ts transpilation to esm and commonjs.
Steps:
- Update
migrate-converged-pkggenerator to add an.swcrcfile to each v9 package which will containbrowserlistdata based on the full browser support matrix of v9. feat(tools): scripts and generator updates to enable SWC transpilation for v9 packages #26527 - Adds
build:react-componentsjust-task to be used by v9 packages. The key difference here and the normalbuildtask is that this now splits up transpilation and api-generation as two separate tasks. The transpilation portion uses SWC to transpile code down and then makes use ofbabelto transform griffel related code. Transpiling tocjsoramdwill now use the already transpiledesmcode output from SWC as a workaround to the issue where ourgriffelbabel-preset is unable to directly parsecjscode transpiled by SWC (tracking PR of ongoing work for this). This method allows for@griffel/babel-presetto still parse code as expected since it has no trouble transformingesmtranspiled code from SWC. feat(tools): scripts and generator updates to enable SWC transpilation for v9 packages #26527 - Run migration generator on all v9 library packages to migrate to using
swctranspilation. chore(v9 packages): Migrate to SWC transpilation approach #27250 -
Export. Fix issue causingwithFluentProviderfrom@fluentui/react-storybook-addonpackage and explicitly declare it in the@fluentui/vr-tests-react-componentsstorybookpreview.jsfile so that the decorator is applied when storybook compiles viabuild-storybookscript (comment where this workaround was discovered in test)@fluentui/storybook-addonto not be properly applied duringbuild-storybookscript feat(scripts-storybook): unify workspace addon loading for dev and prod builds #27006 - Pin
puppeteerto v19 to mitigate unresponsive perf-tests: chore: prerequisite changes before migrating v9 packages to SWC based transpilation #26965 - Update
create-packagetemplates. chore (scripts): update create-package plop templates to use swc/helpers in deps #27286
Long term:
- Update migrate-converged-pkg workspace generator to use browser matrix target instead of
es2019 - Run migration generator to update
.swcrcfiles to use browser matrix target. chore(v9 packages): Migrate to SWC browser matrix based transpilation #27036
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: Build SystemResolution: Soft CloseSoft closing inactive issues over a certain periodSoft closing inactive issues over a certain periodStatus: BlockedResolution blocked by another issueResolution blocked by another issueType: Epic