A very small update, but pushed out since the Gradle export bug fix is important to people who change the route prefix.
Frontend
- Added versions of
ComponentModifier/ComponentVariantmethodsthenIfandthenUnlessthat evaluate lazily- Before:
Modifier.thenIf(condition, ConditionalModifier) - After:
Modifier.thenIf(condition) { ConditionalModifier } - This additional version can be useful if you want to do something expensive when creating the modifier (or variant) that's supplied
- Before:
Gradle
- Remove hardcoded reference to
.kobweb/sitein the Gradle plugin- This value should have been changed earlier to ready from the
.kobweb/conf.yamlfile after the route prefix feature was added - This should resolve issues some users would see when trying to re-export their site using a non-standard route prefix setting, e.g. targeting github pages
- This value should have been changed earlier to ready from the