Replies: 5 comments 4 replies
-
I am getting this as well except my build times are from 35 to 50 seconds. Nearly identical config. I'm running this through Windows with WSL 2 running Ruby and the dev pipeline. |
Beta Was this translation helpful? Give feedback.
-
try to use the latest webpacker v6.0.0.beta.2, works good for me. webpack 5.11.1 compiled successfully in 873 ms |
Beta Was this translation helpful? Give feedback.
-
Git is an open-source, version control tool created in 2005 by developers working on the Linux operating system; GitHub is a company founded in 2008 that makes tools which integrate with git. You do not need GitHub to use git, but you cannot use GitHub without using git. |
Beta Was this translation helpful? Give feedback.
-
Just a guess, but could it be the purge option that caused slowness? |
Beta Was this translation helpful? Give feedback.
-
To make this palatable in local development, you should switch to using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm seeing 7+ second compile times with Rails 6 and Tailwind 2. I'm running Node v15.5.0. I've split up my CSS per #443, #2544, and this article, but I'm experiencing the slow compile times any time I change
javascript/stylesheets/application.css
below (I've tried with and without the.Component
class definition so it's not due to@apply
.I just discovered Tailwind and excitedly purchased TailwindUI, but 7+ second compile times in development are a deal breaker. The links I referenced mention folks have successfully reduced compile times to <=1s, which would be workable.
Code
javascript/packs/application.js
javascript/stylesheets/tailwind.css
javascript/stylesheets/application.css
package.json
postcss.config.js
tailwind.config.js
Compilation log output after body background is changed
Beta Was this translation helpful? Give feedback.
All reactions