Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG] monorepo 子包less报错 #10917

Closed
fatesq opened this issue Aug 27, 2023 · 1 comment
Closed

🐛 [BUG] monorepo 子包less报错 #10917

fatesq opened this issue Aug 27, 2023 · 1 comment

Comments

@fatesq
Copy link

fatesq commented Aug 27, 2023

🐛 bug 描述

📷 复现步骤 | Recurrence steps

基于antd pro新建一个monorepo项目,将component移到子包中,run dev时less报错,对less任何内容都不识别
import { Footer, GlobalHeaderRight } from '@lib/components';
{ UWI1N RJHYWXSU0C46KQI

移除 import './index.less' 能正常

1N)S4FQP BAZZN472@MJ{9O

monorepoRedirect开启关闭都是同样报错

🏞 期望结果 | Expected results

💻 复现代码 | Recurrence code

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

@github-actions
Copy link

当前 Issue 未检测到标题,请规范填写,谢谢!

The title of the current issue is not detected, please fill in according to the specifications, thank you!

@fatesq fatesq changed the title 🐛 [BUG] 🐛 [BUG] monorepo 子包less报错 Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant