Skip to content

babel-make-styles plugin causing build failures after migrating react-avatar to new DX #18903

@Hotell

Description

@Hotell

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:

2021-07-12 at 13 51

After removing make styles plugin from babelrc:
2021-07-12 at 13 56

↓↓↓↓

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

↓↓↓↓

2021-07-12 at 13 52

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 )

2021-07-12 at 13 53

You'll need to change lib to es2015
2021-07-12 at 13 53

Originally posted by @Hotell in #18866 (comment)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions