目录

Conducting Modular Compilation

Modular compilation is bundleless and uses native ES Module (ESM) rules to compile source code. Using modular compilation, enabled by default in projects developed on the stage model using API version 10 or later, can effectively shorten the incremental compilation time and reduce the package size after compilation.

Modular compilation solves the following problems caused by bundle-based compilation and packaging:

Advantages of modular compilation are as follows:

Specification Constraints