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

子应用支持unocss热更新 #680

Open
2 tasks done
xmsz-stu opened this issue Aug 14, 2024 · 0 comments
Open
2 tasks done

子应用支持unocss热更新 #680

xmsz-stu opened this issue Aug 14, 2024 · 0 comments

Comments

@xmsz-stu
Copy link

Clear and concise description of the problem

子应用:modernjs + rspack + unocss
主应用:任意

表现:

  • 子应用unocss更新后,主应用没有热更新,刷新后正常
  • 大概原因可能是由于unocss构建的文件是在static/css/index.css,这个文件是通过style植入的,而不是link,所以刷新没有效果?

Suggested solution

支持热更新

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
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