nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
366 stars 52 forks source link

[Bug] SCSS dependencies are not calculated #246

Open wSedlacek opened 3 years ago

wSedlacek commented 3 years ago

In a newly generated project the SCSS libraries do not have dependencies calculated.

Screen Shot 2021-01-30 at 8 26 19 AM

I am not sure if it is possible for NX to read imports from SCSS, that may be an upstream issue, but a work around might be adding implicit dependencies into the schematic.

I am also noticing that the electron app does not have an implicit dependency on the web application it is linked to.

AgentEnder commented 3 years ago

SCSS imports are unfortunately not grabbed by NRWL's dependency graph, even the ones in the styles array. That would be a good issue for upstream, but I am sure they are already aware of the limitation.

Aside from what we can do from Nx, @NathanWalker and I have been discussing the implicit dependencies recently funny enough. That would definitely help out, but I can not comment on how quickly a decision will be made on it.