Manual:$wgResourceLoaderInlinePrivateModules

Details
Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against. $wgUser to prevent unauthorized access to private modules.