SwiftTailwind/Sources/SwiftTailwindExample/Tailwind.css
laosb e23147768d Improve glob handling for source paths and update docs
- Simplify glob handling in TailwindCSSBuildPlugin to support **
patterns - Update README and Tailwind.css example to clarify glob usage
- Add Template.swift example using Tailwind classes - Extend tests to
verify class extraction from globbed Swift files
2025-08-18 15:22:54 +08:00

8 lines
469 B
CSS

/** SwiftTailwind assumes a Tailwind.css file is present in the root of target directory. **/
/** To align with Swift Package Manager's build plugin capability, SwiftTailwind requires explicitly register all inputs. */
/** You must specify `source(none)` after `tailwindcss` import and add `@source` for each source file / folder you want to include. */
@import "tailwindcss" source(none);
@source "./Example.swift";
@source "./Folder";
@source "./Folder/**/*.swift";