mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2025-11-28 22:01:38 +00:00
- Use SwiftPM-provided sourceFiles for filtering - Add Utils.swift with URL descendant check - Update example to use Views/ instead of Folder/ - Add test for non-included Swift file - Update .zed settings to disable VSCode CSS language server
8 lines
467 B
CSS
8 lines
467 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 "./Views";
|
|
@source "./Views/**/*.swift";
|