Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Gulp task not finishing #195

Closed
rfrerebe opened this issue Mar 31, 2021 · 2 comments
Closed

Gulp task not finishing #195

rfrerebe opened this issue Mar 31, 2021 · 2 comments

Comments

@rfrerebe
Copy link

What version of @tailwindcss/jit are you using?

v0.1.18

What version of Node.js are you using?

v12.21.0

What build tool (or framework if it abstracts the build tool) are you using?

gulp

What browser are you using?

Chrome

What operating system are you using?

Windows with WSL2

Reproduction repository

https://github.com/rfrerebe/jit-repro

Hello,

Running npm run build (or gulp build) on repro will start a task that never finish
Changing the purge options in tailwind.config.css will have the expected behaviour (ie task ending).

@adamwathan
Copy link
Member

Hey! Basically guaranteed you just aren't setting the environment variables you need to as outlined in the docs here:

image

@austenc
Copy link

austenc commented Mar 31, 2021

Also ran into this when implementing with Laravel Mix.

Adam's notes (and the docs) describe the solution -- you likely just need to set TAILWIND_MODE=build in your command.

@rfrerebe rfrerebe closed this as completed Apr 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants