mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
Reduce runtime changes
This commit is contained in:
@@ -85,6 +85,10 @@ const vscodeWebEntryPoints = [
|
||||
buildfile.entrypoint('vs/workbench/workbench.web.main.internal') // TODO@esm remove line when we stop supporting web-amd-esm-bridge
|
||||
].flat();
|
||||
|
||||
/**
|
||||
* @param extensionsRoot {string} The location where extension will be read from
|
||||
* @param product The parsed product.json file contents
|
||||
*/
|
||||
export const createVSCodeWebFileContentMapper = (extensionsRoot: string, product: typeof import('../product.json')) => {
|
||||
return (path: string): ((content: string) => string) | undefined => {
|
||||
if (path.endsWith('vs/platform/product/common/product.js')) {
|
||||
|
||||
Reference in New Issue
Block a user