这是开发预览网站。请访问正式文档 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;