Skip to content

Commit

Permalink
fix(tailwind): 修正 tailwind 检索过多文件造成构建速度变慢的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlayer0 committed Apr 27, 2023
1 parent 5212b96 commit 1406d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/renderer/assets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

@tailwind base;
@tailwind components;
@tailwind utilities;
/*@tailwind utilities;*/
6 changes: 3 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ module.exports = {
purge: {
enabled: true,
content: [
'./**/*.html',
'./src/*.html',
'./*.html',
'./**/*.js',
'./src/*.js',
'./*.js',
'./**/*.vue',
'./src/*.vue',
'./*.vue'
],
options: {
Expand Down

0 comments on commit 1406d57

Please sign in to comment.