Merged
Conversation
- Replace tailwindcss v3 with v4 + @tailwindcss/cli + @tailwindcss/postcss - Remove @awcodes/filament-plugin-purge (Tailwind 3 only) - Remove autoprefixer and postcss-import (built into Tailwind 4) - Remove tailwind.config.js (Filament 4 has no preset; v4 uses CSS-based config) - Update postcss.config.cjs to use @tailwindcss/postcss plugin - Update index.css with @source and @plugin directives for Tailwind 4 - Replace deprecated npm-run-all with npm-run-all2 - Fix CSS output filename: skeleton.css → filament-library.css (matches ServiceProvider) - Bump prettier v2→v3, prettier-plugin-tailwindcss v0.1→v0.6, esbuild v0.19→v0.25 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Matches the filename the ServiceProvider checks for in resources/dist/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
tailwindcssv3 with v4 +@tailwindcss/cli+@tailwindcss/postcss@awcodes/filament-plugin-purge— Tailwind 3 only, no v4 equivalentautoprefixerandpostcss-import— both built into Tailwind 4 via Lightning CSStailwind.config.js— Filament 4 ships no tailwind preset; Tailwind 4 uses CSS-based config instead of JS configpostcss.config.cjsto use@tailwindcss/postcsspluginresources/css/index.csswith@sourceand@plugindirectives for Tailwind 4npm-run-allwithnpm-run-all2skeleton.css→filament-library.css(matches what ServiceProvider looks for inresources/dist/)prettierv2→v3,prettier-plugin-tailwindcssv0.1→v0.6,esbuildv0.19→v0.25Context
This package supports Filament 4 and 5, both of which use Tailwind 4. The previous
tailwind.config.jsreferencedvendor/filament/filament/tailwind.config.preset, which does not exist in Filament 4 (confirmed: Filament 4 uses@import 'tailwindcss' source(none)in CSS). The entire v3 build toolchain was broken for the current Filament versions.Test plan
npm installto verify all packages resolvenpm run buildto verify CSS and JS build without errorsresources/dist/filament-library.cssis generated by the build🤖 Generated with Claude Code