Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enables JIT mode #726

Closed
wants to merge 2 commits into from
Closed

Enables JIT mode #726

wants to merge 2 commits into from

Conversation

coreymcollins
Copy link
Contributor

@coreymcollins coreymcollins commented Aug 19, 2021

WORK IN PROGRESS

DESCRIPTION

This enables Tailwind JIT mode.

OTHER

  • Is this issue accessible? (Section 508/WCAG 2.0AA)
  • Does this issue pass all the linting? (PHPCS, ESLint, SassLint)
  • Does this pass CBT?

STEPS TO VERIFY

  1. Checkout
  2. Run npm i --legacy-peer-deps
  3. Run npm run start or npm run watch
  4. Observe the blazing speeds

DOCUMENTATION

Will this pull request require updating the wd_s wiki?

I don't think so? Nothing about our workflow really changes here except things get faster.

@coreymcollins
Copy link
Contributor Author

coreymcollins commented Aug 19, 2021

There is one issue I'm running into where sourcemaps no longer seem to work with JIT enabled. This looks to be a common issue: tailwindlabs/tailwindcss#5043

I'd love to not have to create multiple config files to work around this issue so maybe there's a better solution we can come to.

@oliverharrison
Copy link
Contributor

I'm going to close this as it will no longer be necessary once we update to TW3. Additionally, the source maps have been fixed in 3.0.24 💪🏻 .
tailwindlabs/tailwindcss#7588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants