Skip to content

windware-ono/parcel-tailwind-slow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm i
npx parcel watch bundle.js

Save the empty test.pug (specified in the watch list in tailwind.config.js's content section) as is and let parcel start recompilation but it takes a very long time (about a second for this small set of files but will get slower linearly with more files) instead of an instant update.

It compiles with normal speed if the stylus files are transpiled as CSS beforehand. It also compiles faster (but not as fast as with CSS) if all the stylus files are concatenated into a single file.

npx stylus style/

and change .styl to .css in bundle.js and it works fast.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published