<commit_before>module.exports = (options) => {
	const babel = {};

	if (options.polymerApp) {
		babel.options = {
			presets: ['es2015']
		};

		babel.views = {
			files: [
				{
					expand: true,
					cwd: 'build/public/scripts/',
					src: [
						'**/*.js',
						'!es6-support.js'
					],
					ext: 'es5.js',
					dest: 'build/public/scripts/'
				}
			]
		};
	}<commit_msg>Add babel production task.<commit_after>module.exports = (options) => {
	const babel = {};

	if (options.polymerApp) {
		babel.options = {
			presets: ['es2015']
		};

		babel.views = {
			files: [
				{
					expand: true,
					cwd: 'build/public/scripts/',
					src: [
						'**/*.js',
						'!es6-support.js'
					],
					ext: 'es5.js',
					dest: 'build/public/scripts/'
				}
			]
		};

		babel.production = {
			files: [
				{
					expand: true,
					cwd: 'build/public/scripts/',
					src: [
						'elements.js',
						'splash-elements.js'
					],
					ext: 'es5.js',
					dest: 'build/public/scripts/'
				}
			]
		};
	}
{'fraction_non_alphanumeric': 0.19383697813121273, 'fraction_numerical': 0.012922465208747515, 'mean_word_length': 1.8526912181303117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3683966', 'n_tokens_mistral': 552, 'n_tokens_neox': 386, 'n_words': 60}