The purpose of `compiler.json`

Just installed Bokeh 2.0.0dev6 and I see that site-packages/bokeh/server/static/js/compiler.json takes up more than a third of the whole package.

How is this file used? I can see that it’s used in the Bokeh source code for the compiler:build Node task. But it doesn’t seem to be used anywhere in the Bokeh distribution.

@mateusz Do you have any idea? Can compiler.json be excluded from the distribution?

It can be safely removed, possibly with some other files as well.