So, a tl;dr of what I want to do is this:
I want to make a website with the following:
• Have server side templates that are transformed into html and then s
• Have webpack use those templates to identify which assets to resolve & include in the final build (but not process the templates.)
• Have webpack also minify & produce some javascript from the compiled koltin/js code, but have the website be capable of running without it.
Of course, my current decision to use webpack is that it seems appropriate as a bundler for the task. But, I'm willing to switch bundlers if another might be better suited.
I do definitely want the resources webpack decides to include to be resolved from the templates though, as I don't want to rely on "hacks" in the js file to make it work.