Typescript paths alias doesn't resolve
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, typescript
- 领域
- build-system, tooling
调研方向
Start with the module-resolution path used for postcss.config.ts and compare it with the tsconfig.json path alias in the reported Nx monorepo. Reproduce the relative-import and aliased-import cases, then use the existing configuration-loading tests or add a focused regression test showing that the alias resolves successfully.
由索引模型根据 Issue 内容生成。
描述
Trying to use a shared tailwind config in an integrated Nx monorepo. The module resolution is all done with typescript path aliasing rather than package manager workspace module resolution. The shared tailwind config works just fine if I do a relative import ../../libs/shared-tailwind-config.ts but fails with a module failed to resolve if I have a path alias in my tsconfig of @tw: [/libs/shared-tailwind-config.ts]. I have included the postcss.config.ts file in my tsconfig.josn and VS code is able to recognize the import alias correctly in the file.
- 主要语言
- JavaScript
- 星标
- 661
- 派生
- 76
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
postcss/postcss-load-config 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
postcss/postcss-load-config#248 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
postcss/postcss-load-config#225 · 13 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
postcss/postcss-load-config#221 · 4 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
postcss/postcss-load-config#212 · 7 条评论 ·
-
priority: medium semver: minor type: feature
难度 5/5 一周以上 新手友好度 25/100
postcss/postcss-load-config#183 · 1 条评论 · 4 个 reaction ·
查看 postcss/postcss-load-config 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
Forrest-Technologies/drover#1040 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
good first issue help wanted
难度 1/5 1 小时以内 新手友好度 90/100
erkamyaman/rust-anything#702 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
erkamyaman/unslop-anything#231 ·
维护者通常 1 天内回复