Remove PostCSS, use standalone Tailwind CSS CLI#160
Open
diamantidis wants to merge 7 commits intosourcefrom
Open
Remove PostCSS, use standalone Tailwind CSS CLI#160diamantidis wants to merge 7 commits intosourcefrom
diamantidis wants to merge 7 commits intosourcefrom
Conversation
Remove jekyll-postcss gem and its configuration (postcss cache setting, exclude entry for postcss.config.js) since Tailwind is now built via standalone CLI.
Add assets/css/main.css to .gitignore since it is now a build artifact generated by the Tailwind CLI.
Add 'npm run build:css' step before Jekyll build in both ci.yml and github-pages.yml to ensure Tailwind CSS is compiled before site build.
Replace all jekyll-postcss/PostCSS references with standalone Tailwind CLI instructions. Document two-process dev workflow with CSS watcher, PID-based process management, and livereload.
Proselint found issuesAGENTS.md
Spell Checker found issuesAGENTS.md
Generated by 🚫 Danger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan
assets/css/input.csswith@tailwinddirectives and@applyrules (moved from_scss/custom.scss)dev:css(watch) andbuild:css(minify) npm scriptspostcss,cssnano, andjekyll-postcssdependenciespostcss.config.jsnpm run build:cssbefore Jekyll buildTests
npm run build:cssproduces valid minified Tailwind outputJEKYLL_ENV=production bundle exec jekyll buildsucceeds