Module Bundling
Provides classes and predicates for detecting files generated by popular module bundlers.
Import path
import semmle.javascript.frameworks.BundlingImports
| javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
| getExclamationPointCommentInRun | Gets a comment that belongs to a run of consecutive |
| isBrowserifyBundle | Holds if |
| isBundle | Holds if toplevel |
| isDirectiveBundle | Holds if this is a bundle with a “bundle” directive. |
| isMultiLicenseBundle | Holds if this is a bundle containing multiple licenses. |
| isMultiPartBundle | Holds if |
| isWebpackBundle | Holds if |
| isWebpackNamedBundle | Holds if |
Classes
| ExclamationPointComment | A comment that starts with ‘!’. Minifiers avoid removing such comments. |