 		.on 'error', onError
 
 # Generate CHANGELOG
-gulp.task 'changelog', ['stats'], ->
+gulp.task 'changelog', ['normalizeComponents', 'stats'], ->
 	options =
 		repository: pkg.repository.url
 		version: pkg.version

onScript = (file) ->
	filePath = path.relative file.base, file.path
	filePath = path.join SCRIPTS_MIN_DIRECTORY, filePath if file.revOrigBase
	filePath = path.resolve '/', filePath
	endsWith = '.spec.js'
	isSpec   = filePath.slice(-endsWith.length) is endsWith


onStyle = (file) ->
	filePath = path.relative file.base, file.path
	filePath = path.join STYLES_MIN_DIRECTORY, filePath if file.revOrigBase
	filePath = unixifyPath '/' + filePath

	templateOptions.styles.push filePath

