scss import fails after lerna update #3967
Unanswered
Nevinia210
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
recently I started to work with updating Lerna from version 3.22.1 to 8.1.2 in our solution. In Lerna documentation I read that I should use package manager workspaces (npm in my case).
First I tried it with some "blank" solution and even there I'm still facing issues with imports in scss file:
file path: Monorepo.Poc/Solution1/src/helloWorld/components/HelloWorls.module.scss
error:
On npm github I was told that problem should be handled by build tool. Can lerna handle problems with importing css?
Steps To Reproduce
What is your solution name? (solution-1) - press enter
Which type of client-side component to create? (Use arrow keys) - select WebPart and press enter
What is your Web part name? (HelloWorld) - press enter
Which template would you like to use? - select React and press enter
npm install
in folder Monorepo.Pocnpm run build --workspaces
in folder Monorepo.PocEnvironment
Am I doing something wrong or whats the catch there?
Thanks for your answers in advance
Beta Was this translation helpful? Give feedback.
All reactions