-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Tailwind fails if
lektor build
run from outside the Lektor pro…
…ject directory (#4) * fix: type annotation * test: run tests from outside the Lektor project dir Two changes to the tests: 1. Run Lektor from cwd rather than the project directory (setting the $LEKTOR_PROJECT environment variable so that Lektor can find the project). 2. Rather than just checking for "tailwindcss" in the output CSS file, check for one of the classes used in the example project (e.g. ".flex") to ensure that tailwind actually found the source files. * fix(lektor build): chdir to project dir before running tailwind
- Loading branch information
Showing
2 changed files
with
34 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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