property
BuildConfig.splitRequire
splitRequire?: boolean
With splitting and target: "bun", every require() of a bundled ES module is a chunk boundary too. The call stays synchronous: it is emitted as import.meta.require("./chunk-…js") and the chunk is evaluated when the call runs, so a require() inside a function that never runs costs nothing at startup. Set to false to keep such modules inlined in the calling chunk. No effect for other targets.