Rspeedy logo
Rspeedy

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;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.