Skip to content

node packages within repo are required to be built first before using (blocking no-build dev loop mode) #18357

@layershifter

Description

@layershifter

Problem details

the issue exists for following packages:

  • jest-serializer-make-styles,
  • babel-make-styles,
  • make-styles,
  • make-styles-webpack-loader

#18337 introduced Jest aliases to workaround build issues, but the problem was not completely solved. As #16889 is going to use Jest aliases too, we will have the same problem there:

● Validation Error:

  Module @fluentui/jest-serializer-make-styles in the snapshotSerializers option was not found.
         <rootDir> is: office-ui-fabric-react\packages\react-image

  Configuration Documentation:
  https://jestjs.io/docs/configuration.html

We met the problem before with babel-make-styles (#18040) and there is a proposal how to solve it (#18144).

Possible solutions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions