Es2015 import performs static analysis at compile time. Which stage is it at?

In the modular approach of

es2015, import performs static analysis at compile time to determine that the module is dependent on loading.

in which step is the compile time exactly?

Jun.11,2021

should refer to


Es standard no matter how you package it.
the details of packaging depend on what packaging tool (webpack,browserify,metro) you use. Go to the official website of the tool to see


static analysis of import is made when the loader downloader searches and downloads the files.

Menu