How to manage SCSS stylesheets across a monorepo with different libraries sharing variables?
- 阅读更多 关于 How to manage SCSS stylesheets across a monorepo with different libraries sharing variables?
问题 I have an angular monorepo set up via Nrwl and am using Angular Material's theming, which uses SASS. I want the SCSS source files to import at the project level where I'll override default color variables for theming. The problem I'm running into is that I want to import SCSS source files into other apps/libraries within my monorepo, and to projects outside of this monorepo. I can write my imports like: @import "../other-lib/style.scss"; ...which will work for anything inside of the monorepo.