Actually there are a lot of cases to consider when using import(). But let’s start with few naming hints: Source: the module containing the import() expression Target: the module referenced by the request in the import() expression non-ESM: a CommonJs or AMD module not setting __esModule: true transpiled-ESM: a CommonJS module setting __esModule: true because it was transpiled from ESM ESM: a norm
![webpack 4: import() and CommonJs](https://cdn-ak-scissors.b.st-hatena.com/image/square/22e836073540375c966e752b45ed55038a5eab53/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2Awyxuq21keffc5b0d_lMkUw.jpeg)