<commit_before>import './assets/style/main.scss';

const resources = {
	manifest: '/application.webmanifest',
	fonts: 'https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700%7cRoboto+Slab:300,400',
	icon: 'https://gravatar.com/avatar/39263d15a3b0838a938aaaa59dde5c06?s=256',
};

export default (Vue, {
	head,
}) => {
	head.link.push({
		rel: 'manifest',
		href: resources.manifest,
	});

	head.link.push({
		rel: 'preload',
		href: resources.fonts,
		as: 'style',
		crossorigin: 'anonymous',
	});

	head.link.push({
		rel: 'stylesheet',
		href: resources.fonts,
	});

	head.link.push({
		rel: 'icon',
		href: resources.icon,
	});

	if (process.isClient) {
		window.addEventListener('load', () => import('pwacompat'));
	}
};
<commit_msg>Configure web-fonts to swap after being loaded<commit_after>import './assets/style/main.scss';

const resources = {
	manifest: '/application.webmanifest',
	fonts: 'https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700%7cRoboto+Slab:300,400&display=swap',
	icon: 'https://gravatar.com/avatar/39263d15a3b0838a938aaaa59dde5c06?s=256',
};

export default (Vue, {
	head,
}) => {
	head.link.push({
		rel: 'manifest',
		href: resources.manifest,
	});

	head.link.push({
		rel: 'preload',
		href: resources.fonts,
		as: 'style',
		crossorigin: 'anonymous',
	});

	head.link.push({
		rel: 'stylesheet',
		href: resources.fonts,
	});

	head.link.push({
		rel: 'icon',
		href: resources.icon,
	});

	if (process.isClient) {
		window.addEventListener('load', () => import('pwacompat'));
	}
};

{'fraction_non_alphanumeric': 0.19340232858990944, 'fraction_numerical': 0.050452781371280724, 'mean_word_length': 4.729629629629629, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '4385384', 'n_tokens_mistral': 679, 'n_tokens_neox': 589, 'n_words': 90}