public static boolean isCommonJsDynamicImportCallback(
      Node n, ModuleLoader.ResolutionMode resolutionMode) {
    if (n == null || resolutionMode != ModuleLoader.ResolutionMode.WEBPACK) {
      return false;
    }
    if (n.isFunction() && isWebpackRequireEnsureCallback(n)) {
      return true;
    }

    return false;
  }
public static boolean isCommonJsDynamicImportCallback ( Node n , ModuleLoader . ResolutionMode resolutionMode ) { if ( n == null || resolutionMode != ModuleLoader . ResolutionMode . WEBPACK ) { return false ; } if ( n . isFunction ( ) && isWebpackRequireEnsureCallback ( n ) ) { return true ; } return false ; }
Recognize if a node is a dynamic module import. Currently only the webpack dynamic import is
recognized:

<ul>
<li>__webpack_require__.e(0).then(function() { return __webpack_require__(4);})
<li>Promise.all([__webpack_require__.e(0)]).then(function() { return
__webpack_require__(4);})
</ul>