Skip to content

Commit

Permalink
Breaks the Tailwind imports into a separate file to speed up compilin…
Browse files Browse the repository at this point in the history
…g when running wds-start (#569)
  • Loading branch information
coreymcollins authored Feb 10, 2021
1 parent f6bff42 commit ba85c0f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 36 deletions.
56 changes: 27 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable no-unused-vars */

import './scss/tailwind.scss';
import './scss/index.scss';

// Make sure JS is enabled and the window is ready.
Expand Down
7 changes: 0 additions & 7 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
//-----------------------------------------
// Tailwind Files
//-----------------------------------------
@tailwind base;
@tailwind components;
@tailwind utilities;

//-----------------------------------------
// Theme Files
//-----------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions src/scss/tailwind.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//-----------------------------------------
// Tailwind Files
//-----------------------------------------
@tailwind base;
@tailwind components;
@tailwind utilities;

0 comments on commit ba85c0f

Please sign in to comment.