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

这个 vite 没办法的,因为你直接加载 less 源码,时间是消耗在 less 的编译上,并不是 vite 能改善的问题。 #12778

Closed
WangJincheng4869 opened this issue Apr 7, 2023 · 1 comment

Comments

@WangJincheng4869
Copy link

          这个 vite 没办法的,因为你直接加载 less 源码,时间是消耗在 less 的编译上,并不是 vite 能改善的问题。

Originally posted by @yyx990803 in #3673 (comment)

大佬。这个问题不仅仅less,在sass也有。能否通过预编译和本地缓存来改善这个问题?
比如 element plus 的主题色修改就会导致加载很慢,但是主题色修改一般都是配置好之后就不会再有改动(就算是改动也不是很频繁)这种如果预编译好且缓存,每次启动不重新编译只加载是不是可以提升加载速度。将索引存在本地磁盘,永久存储。

@bluwy
Copy link
Member

bluwy commented Apr 7, 2023

Duplicate of #1309

@bluwy bluwy marked this as a duplicate of #1309 Apr 7, 2023
@bluwy bluwy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants