David Herman

Results 256 comments of David Herman

I spent today exploring `esbuild` (and also `esbuild` + `terser`), comparing the speed and size of the final JS file it creates compared to what I'm currently getting with webpack...

Thanks @christian-draeger ! I've heard good things. Still not sure what it would take to integrate a different bundler inside a Kotlin project but I will be curious to try.

Ugh, not really sure. Probably an issue with the Gradle JDK? Can you look at https://www.jetbrains.com/help/idea/gradle.html#gradle_version_install and make sure your JDK is set to 11+?

Can you share a screenshot of your gradle settings page on Mac?

Only two things I can think of is 1) your settings.gradle.kts file doesn't include the varabyte repository declaration or 2) you're working behind a strict firewall and it's rejecting my...

Thank you for filing this doc bug. I agree video is useful and can be documented. For now, you can see me using it in action here: https://github.com/varabyte/kobweb-site/blob/2be6aaf838232240ace56d13290a691ec2a5194c/src/jsMain/kotlin/com/varabyte/kobweb/site/components/sections/home/CliSection.kt#L43 This is...

I'm not sure exactly what you mean by the last part, but I'm pretty sure that solving and/or documenting that case is outside the scope of Kobweb. Anytime I need...

What do you mean by a dot in your dynamic route? Something like `https://mysite.com/sub/a.b.c/` ?

OK took a minute to try this out. Not only is this broken but it also looks like there's an issue with dynamic slugs in general (e.g. `"/sub/{token}"`) seem to...

So here's the culprit: https://github.com/varabyte/kobweb/blob/19da9c4732f36f1b1ffd8db574d63952a967f58f/frontend/kobweb-core/src/jsMain/kotlin/com/varabyte/kobweb/navigation/Router.kt#L266 ```kotlin val extension = pathQueryAndFragment.substringAfterLast('/').substringAfterLast('.', "") ``` What this means is the route "a/b.c/d/e" is treated as having the file extension "c/d/e". Whoops! I'm definitely...