I am making a view with the new web framework and I am trying to use require.js to break up the code and make it easier to maintain. The view is nice and crisp on modern browsers but unfortunately the view is meant to be viewed on an embedded browser that would not be considered "modern". So, I am looking for ways to improve the loading time and performance of the page and I see that it takes a while to just load all of the different pieces of javascript code.
Require.js provides a utility that lets you compile all of your javascript files into one compact file and from what I can tell Splunk's default search and management pages use javascript compiled this way. Is there a good way to do this with custom views in the new web framework?
We don't have this functionality available out of the box at the moment, but it is definitely something we are pursuing and want to help developers be able to compile and minify their application code.
You should also add this as a request to our UserVoice.