angular / angular/components

feat: Use Sass pkg importers

Open
#32,129 0 comments 3 reactions 0 assignees View on GitHub
feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

To improve sass modules resolution Angular material should adopt pkg importers https://sass-lang.com/blog/announcing-pkg-importers/

### Use Case

We try to adopt this feature and remove `./node_modules` from sass `loadPath` but some dependencies (like `@angular/material`) continue to use direct dependency path without `pkg:` internally.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start with the linked Sass pkg importers announcement and trace where Sass loadPath and Angular Material's internal dependency paths are configured. Done means Angular Material Sass imports resolve through pkg importers without requiring ./node_modules in loadPath; run the relevant repository tests after locating the configuration entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, sass
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.