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

TD Mono: lodash-es instead of lodash #4961

Closed
zhangpaopao0609 opened this issue Jan 25, 2025 · 4 comments
Closed

TD Mono: lodash-es instead of lodash #4961

zhangpaopao0609 opened this issue Jan 25, 2025 · 4 comments
Assignees
Labels
monorepo monorepo

Comments

@zhangpaopao0609
Copy link
Collaborator

zhangpaopao0609 commented Jan 25, 2025

这个功能解决了什么问题

全量替换 lodash 为 lodash-es

Copy link
Contributor

👋 @zhangpaopao0609,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@zhangpaopao0609
Copy link
Collaborator Author

注意 common 和 其它 栈 也需要相应修改

@liweijie0812
Copy link
Collaborator

mobile-vue ,mobile-react 两个仓改了

@liweijie0812
Copy link
Collaborator

补充eslint 规则禁用 lodash

'no-restricted-imports': [
    'error',
    {
      paths: [
        {
          name: 'lodash',
          message: 'Please use lodash-es instead.'
        }
      ]
    }
  ]

@zhangpaopao0609 zhangpaopao0609 self-assigned this Jan 26, 2025
@zhangpaopao0609 zhangpaopao0609 changed the title lodash-es instead of lodash TD Mono: lodash-es instead of lodash Jan 26, 2025
@uyarn uyarn closed this as completed Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monorepo monorepo
Projects
None yet
Development

No branches or pull requests

3 participants