I was wondering if there is any specific reason why it currently only supports a single JS as server bundle? What if I want to have two different pages that are independent? Like I could put them all into the same server bundle but that makes the JS way bigger then it needs to be and therefore I assume makes the JS parsing and execution slower (on the server).
Preferable I would like to build multiple independent server bundle js files and then select the one to use as part of the twig template call.
I was wondering if there is any specific reason why it currently only supports a single JS as server bundle? What if I want to have two different pages that are independent? Like I could put them all into the same server bundle but that makes the JS way bigger then it needs to be and therefore I assume makes the JS parsing and execution slower (on the server).
Preferable I would like to build multiple independent server bundle js files and then select the one to use as part of the twig template call.