Open TristanWatanabe opened 1 year ago
we are currently blocked by https://github.com/microsoft/fluentui/issues/26251
we have a workaround for https://github.com/microsoft/fluentui/issues/26251, but based on partner browser compliance we cannot use browserlist yet. should be revisited by the end of year
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".
ISSUE
Migrate v9 transpilation tooling to be based on browser support matrix. Use either
swc
orbabel
to replacets
transpilation to esm and commonjs.Steps:
migrate-converged-pkg
generator to add an.swcrc
file to each v9 package which will containbrowserlist
data based on the full browser support matrix of v9. #26527build:react-components
just-task to be used by v9 packages. The key difference here and the normalbuild
task 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 ofbabel
to transform griffel related code. Transpiling tocjs
oramd
will now use the already transpiledesm
code output from SWC as a workaround to the issue where ourgriffel
babel-preset is unable to directly parsecjs
code transpiled by SWC (tracking PR of ongoing work for this). This method allows for@griffel/babel-preset
to still parse code as expected since it has no trouble transformingesm
transpiled code from SWC. #26527swc
transpilation. #27250withFluentProvider
from@fluentui/react-storybook-addon
package and explicitly declare it in the@fluentui/vr-tests-react-components
storybookpreview.js
file so that the decorator is applied when storybook compiles viabuild-storybook
script (comment where this workaround was discovered in test)~. Fix issue causing@fluentui/storybook-addon
to not be properly applied duringbuild-storybook
script #27006puppeteer
to v19 to mitigate unresponsive perf-tests: #26965create-package
templates. #27286Long term:
es2019
.swcrc
files to use browser matrix target. #27036