-
Notifications
You must be signed in to change notification settings - Fork 16
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
加快构建速度 #55
Merged
Merged
加快构建速度 #55
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
请 @GwokHiujin 确认一下相关修改是否可行 |
之前的配置似乎会扫描 node_modules 目录下的所有文件,过一遍 tailwind 的 pass,造成构建非常慢。根据这个issue tailwind 的 utilities 似乎文件比较大,导入这个会造成构建缓慢,不知有没有替换方案 |
Closed
@cjj826 我本地已经简单测试了 tailwind 基础功能类和自定义功能类的引用,如果方便的话可以用这个分支的配置测试样式能否正常显示。 |
GwokHiujin
reviewed
Apr 13, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我修改了 tailwind 查找渲染目标的逻辑,顺便修复了样式文件似乎无法正常引入的问题(主要是配置引起的)
cjj826
approved these changes
Apr 13, 2023
gmlayer0
pushed a commit
that referenced
this pull request
Apr 13, 2023
Thysrael
pushed a commit
that referenced
this pull request
Apr 26, 2023
Thysrael
pushed a commit
that referenced
this pull request
Apr 26, 2023
gmlayer0
pushed a commit
that referenced
this pull request
Apr 27, 2023
gmlayer0
pushed a commit
that referenced
this pull request
Apr 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.