solonovamax
12/16/2021, 7:39 PMrequire
calls at the start of the kotlin main function.
But, I want to add more assets as well as pages to the website. For this, I don't want to have to keep adding require
calls to the start of my main .kt
file. Instead, I'd like if webpack took my pebble template as input and used that to resolve assets. (But, there are some other assets, eg. icons, which must be processed even if not included in the source)
What's the best way to go about this? I've had quite the difficulty in figuring out how I should do it.
Also, I'm fine with moving to another templating language, but the templates need to be rendered server side and not by the javascript. I want clients that can't run javascript to be able to view a fully functioning page.Tomasz Krakowiak
12/17/2021, 7:37 AM