Predicate isWebpackNamedBundle
Holds if object
looks like a Webpack bundle of form:
var __webpack_modules__ = ({
"file1": ((module, __webpack__exports__, __webpack_require__) => ...)
...
})
Import path
import semmle.javascript.frameworks.Bundling
predicate isWebpackNamedBundle(ObjectExpr object)