Deploy Panel offline

I am deploying a panel app in an offline env (completely disconnected network). Serving the app is extremely slow and it appears to be because of requests to unpkg.com for tabulator.js, moment.js and a stylesheet for tabulator. I do not use any of these libs but cannot find a good way to disable these calls.

I did try adding pn.config.inline = True and that appeared to make no difference.

Here seems to be a somewhat related issue: related issue

The primary difference is i don’t want to load any different libs manually, i would just like to disable all external calls. Is there an easy way to accomplish this?

It’s a bug. Tabulator should not be loaded by default · Issue #2284 · holoviz/panel · GitHub.

The relevant issue has been closed with tabulator js resources now being bundled but I still can’t figure out how to use the Tabulator widget offline in a classic jupyter notebook context:
panel version: 0.12.1

I attempted various combinations of:
pn.config.inline = True
pn.extension(‘tabulator’, inline=True)
pn.io.resources.RESOURCE_MODE = ‘server’
bokeh.settings.settings.resources = ‘inline’
bokeh.plotting.output_notebook(resources=bokeh.resources.INLINE)