code: private List<JoinableResourceBundle> getBundlesToRebuild() {
  		List<JoinableResourceBundle> bundlesToRebuild = new ArrayList<>();
  
  		if (config.getUseSmartBundling()) {
  
  			for (JoinableResourceBundle bundle : globalBundles) {
  				if (bundle.isDirty()) {
  					bundlesToRebuild.add(bundle);
  				}
  			}
  			for (JoinableResourceBundle bundle : contextBundles) {
  				if (bundle.isDirty()) {
  					bundlesToRebuild.add(bundle);
  				}
  			}
  		}
  		return bundlesToRebuild;
  	}
docs: Returns the bundles which needs to be rebuild
  
  @return the bundles which needs to be rebuild