Skip to content

module: be lazy when creating CJS facades

Rodrigo Muino Tomonari requested to merge github/fork/bmeck/lazy-esm-facade into master

This should remove the penalty for loading CJS that is never imported.

Aside: We could probably do more low hanging optimizations if we could reuse facades.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

module

Merge request reports

Loading