src/vs/css.build.ts/writeFile
export function writeFile(pluginName: string, moduleName: string, req: AMDLoader.IRelativeRequire, write: AMDLoader.IPluginWriteFileCallback, config: AMDLoader.IConfigurationOptions): void {
	if (entryPoints && entryPoints.hasOwnProperty(moduleName)) {
		const fileName = req.toUrl(moduleName + '.css');
		const contents = [
			'/*---------------------------------------------------------',
			' * Copyright (c) Microsoft Corporation. All rights reserved.',
			' *--------------------------------------------------------*/'
		],
			entries = entryPoints[moduleName];
		for (let i = 0; i < entries.length; i++) {
			if (inlineResources) {
				contents.push(rewriteOrInlineUrls(entries[i].fsPath, entries[i].moduleName, moduleName, entries[i].contents, inlineResources === 'base64', inlineResourcesLimit));
			} else {
				contents.push(rewriteUrls(entries[i].moduleName, moduleName, entries[i].contents));
			}
		}
		write(fileName, contents.join('\r\n'));
	}
}