Skip to content

Commit

Permalink
Merge pull request #1706 from fengb/lazyloading-boolean
Browse files Browse the repository at this point in the history
Support engine's lazyLoading boolean config
  • Loading branch information
void-mAlex authored Dec 12, 2023
2 parents dfb37f6 + c4dcdf8 commit 737131a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compat/src/v1-addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ export default class V1Addon {
let built = new IntermediateBuild();
built.staticMeta['order-index'] = this.orderIdx;

if (this.options.lazyLoading && this.options.lazyLoading.enabled) {
if (this.options.lazyLoading === true || (this.options.lazyLoading && this.options.lazyLoading.enabled)) {
built.staticMeta['lazy-engine'] = true;
}

Expand Down

0 comments on commit 737131a

Please sign in to comment.