
I’ve noticed as my project has grown that custom extensions have started taking an excruciatingly long time to build every time I start a server. So, I’d like to switch to using pre-built extensions with bokeh build. I think I’ve figured out how to get the build to run (have to change all the imports to start with @bokeh!) thanks to the example PR from Panel. But now I’m left with a “dist” directory containing compiled minified and non-minified javascript - how do I then actually get that javascript included in my project? I am not using custom templates, so I can’t just add a script tag to the header. Should I set __javascript__ on my custom model class to point to the minified js file? If so, which of the many custom models should I put that on - all of them? Can I even put a local filename in __javascript__? Thanks.
P.S. bokeh init gives a package.json file that points to Boken 1.x, even though I’m on 2.1.1. I had to manually change the dependency to @bokeh/bokehjs.


