
We have a pile of internal components we developed. We are on Bokeh 2.3.1 and used “Bokeh init” to setup the framework (folllowing the documentation online replaced the imports with “@bokehjs/” ) and compiled all the components to a single file. then loaded them up using a template - all that looks and works great as long as we include in the actual python side in the project on each of the components:
__implementation__ = JavaScript('''
// fake creation to avoid bokeh throwing errors.
''')
while everything now works we can see that bokeh behind the hood is trying to compile the components at runtime as nodejs is running and things are still slow in first load - a step we are trying to avoid. setting things to None - throws an error - even though everything is ready and working as long as we put something in the implementation.
what is the correct configuration on the implementation side if we want to indicate to bokeh not to worry about it as it has been created and compiled already - aka not to depend on nodejs being in the environment as all the files have been pre-compiled?
Thanks for any help in advance!


