angular / angular/components

feat: Use Sass pkg importers

未关闭
#32,129 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### 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.

贡献指南

打开贡献指南

调研方向

该 issue 没有指定文件或测试。请从链接的 Sass pkg importers 公告开始,追踪 Sass loadPath 和 Angular Material 的内部依赖路径在哪里配置。完成标准是:Angular Material 的 Sass 导入可以通过 pkg importers 解析,而不需要在 loadPath 中加入 ./node_modules;找到配置入口点后,运行相关的 repository 测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, sass
领域
build-system, frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。