re('../../../package.json').optionalDependencies).sort();
		const dependenciesRemote = Object.keys(require('../../../remote/package.json').dependencies).sort();

		for (const name of new Set([].concat(builtin, dependencies, optionalDependencies, dependenciesRemote))) {
			const url = asRequireBlobUri(name);
			if(!url) {
				continue;
			}

			importMap.imports[name] = url;
		}

		//2: CSS modules
		const style = document.createElement('style');
		style.type = 'text/css';
		document.head.appendChild(style);