Skip to content

lazy load extension host worker

Warren Gifford requested to merge tjk/lazy-load-exthost into main

Created by: tjkandala

Dynamically import the createExtensionHost so that the worker bundle isn't included in the main bundle.

@umpox Can you confirm that reduces the main bundle size? I ran bundle-analyzer and saw a new chunk for the worker, but was never able to reproduce the original issue that the worker was included in the main bundle.

Merge request reports

Loading