public static Map < String , ObjectNode > generateSetupJson ( List < Map . Entry < String , Boolean > > prefixes ) { Map < String , String > webJars = new WebJarAssetLocator ( ) . getWebJars ( ) ; Map < String , ObjectNode > jsonConfigs = new HashMap <> ( ) ; for ( Map . Entry < String , String > webJar : webJars . entrySet ( ) ) { jsonConfigs . put ( webJar . getKey ( ) , getWebJarSetupJson ( webJar , prefixes ) ) ; } return jsonConfigs ; }
Returns the JSON used to setup the RequireJS config for each WebJar in the CLASSPATH . This value is not cached .