After migrating react-avatar to new DX via yarn nx workspace-generator migrate-converged-pkg build started failing
#18866
The CI file is caused by babel-make-styles plugin:
Current:

After removing make styles plugin from babelrc:

↓↓↓↓
yarn lage build --to @fluentui/react-avatar
↓↓↓↓

can you help us out @layershifter ?
there is also another issue, that is caused by make-styles - it uses ES2015+ language features, thus API extractor will properly notify us that something is not ok. (this was reported/discovered by @ling1726 )

You'll need to change lib to es2015

Originally posted by @Hotell in #18866 (comment)