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

🧐[问题 | question] v5版本使用css出现缓存,还包括一些其他缓存 #11303

Open
yy-xiaoxin opened this issue Aug 2, 2024 · 0 comments

Comments

@yy-xiaoxin
Copy link

🧐 问题描述 | Problem description

  1. 使用 :global 对antd的已有样式进行重写,重写后发现样式不符合本意,就删除了这份样式,但后续发现我删除的这份样式仍然生效,并且还有具体的文件位置(mf-dep____vendor...),而且我把.umi文件删了重新start,还是如此!
  2. 最后发现还得删除node_modules里面的.cache文件,我觉得这不是又变复杂了吗?以前是.umi删了就可以,现在又来一个.cache,为了热更新速度往依赖包加缓存?这是不是有点治标不治本了?
  3. 我在import 文件时也是出现了报错问题,我尝试修改路径还是报错,最终还是删除.cache文件,问题才解决

💻 示例代码 | Sample code

🚑 其他信息 | Other information

OS:

Node:16+

浏览器 | browser:Chrome

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