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

WIP: Add tailwind-jit transformation #58

Merged
merged 2 commits into from
Mar 30, 2022
Merged

WIP: Add tailwind-jit transformation #58

merged 2 commits into from
Mar 30, 2022

Conversation

regisphilibert
Copy link
Member

@regisphilibert regisphilibert commented Feb 11, 2022

This PR, not ready for promotion, (but maybe use?) is here if we need it.

This will essentially use the current best workaround to run Hugo Pipe + JIT described by @Gioni06 here: https://dev.to/jonas_duri/how-to-use-tailwindcss-30-without-external-npm-scripts-just-hugo-pipes-2lg9

Requires Node 16

# _huge/config/styles.yaml
styles:
- name: main
  path: css/main.scss
  use:
    - tailwind-jit

The stdin error (reported as fixed in Tailwind 3.0.11) is still there for me. So it means a I had to add a stdin empty file at be root of the repo to have this work. Less than ideal.

Addresses #43

This will essentially use the current best workaround to run Hugo Pipe + JIT

Addresses #43
@regisphilibert regisphilibert merged commit 3e88d49 into main Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant