For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/rspeedy.bundlefilenamecontext.lazybundle.md.
这是开发预览网站。请访问正式文档 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;