function scoreAsset(asset) {
	if (asset.type === 'chunk') {
		return asset.isEntry ? 10 : asset.isDynamicEntry ? 8 : 6;
	}
	// List HTML files first, sorted by path depth
	if (/\.html$/.test(asset.fileName)) {
		return 30 - asset.fileName.split('/').length;
	}
	// ...then CSS files
	else if (/\.css$/.test(asset.fileName)) {
		return 9;
	}

	// ...and everything else after that
	return 1;
}
@param {import('rollup').OutputChunk | import('rollup').OutputAsset} asset