This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/rspeedy > BundleFilenameContext > lazyBundle

BundleFilenameContext.lazyBundle property

Whether the filename is being resolved for a lazy bundle (async chunk) instead of the main bundle of an entry.

This allows you to control the main bundle and the lazy bundles with a single function, without needing a dedicated lazyBundle field.

Signature:

lazyBundle: boolean;