varabyte / kobweb

A modern framework for full stack web apps in Kotlin, built upon Compose HTML
https://kobweb.varabyte.com
Apache License 2.0
1.46k stars 65 forks source link

Kobweb Plugin: Have a way to not generate unecessary header tags in index.html #7

Closed bitspittle closed 2 years ago

bitspittle commented 2 years ago

Right now we're always generating the link to font awesome icons, which might be expensive if you have an app that isn't using them.

Instead, there should be a way for the user to indicate they don't want it. Maybe just a kobweb.conf.yaml setting? Or we can figure it out if they don't have a dependency on the font awesome icon kobweb artifact?

bitspittle commented 2 years ago

This bug should let users add any number of header tags (or should we limit it to scripts and stylesheets?) Look at highlight.js, which requires added a handful of different tags.