alibaba / alibaba/ice

@ice/plugin-unocss如何扫描monorepo的其他包文件?

Open
#6,964 1 comment 0 reactions 0 assignees View on GitHub
rfc
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

### Summary | 概述

_No response_

### Motivation | 背景

monorepo项目
- 我在项目A引用包B
- 项目A有用unocss
- 但是并没有编译包B里的内容

### Usage example | 使用示例

_No response_

### Detailed design | 方案设计

支持编译其他包的内容

### Additional context | 额外信息

- 用v2的时候是可以编译的,不过是自己加载的unocss
- 设置了unocss的配置,但是怎么设置都不生效

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the monorepo setup where project A imports package B and @ice/plugin-unocss fails to compile B's content. Read the @ice/plugin-unocss entry points and its UnoCSS configuration handling, then compare the v2 behavior described in the issue. Done means package B's relevant files are scanned and compiled through the supported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.