I was looking how to include config variables with modules and noticed the documentation for $wgResourceModules is very incomplete.
For example https://www.mediawiki.org/wiki/Manual:$wgResourceModules does not mention noflip, targets or templates or packageFiles. The documentation in DefaultSettings.php is even less complete.
These options are mentioned in docs/extension.schema.v2.json, but even there it doesn't really explain how to use packageFiles.
Currently best documentation seems to be the doc for constructor in includes/resourceloader/ResourceLoaderFileModule.php, but even that fails to mention noflip.