From 1e6d95ddb19d84400ce2408d4b3e9f2f21bcc2ba Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Fri, 6 Sep 2024 10:08:32 +0200 Subject: [PATCH] fix for running from sources --- package-lock.json | 4 ++-- package.json | 2 +- src/server/workbench.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f06c45..8610817 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vscode/test-web", - "version": "0.0.58", + "version": "0.0.59", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vscode/test-web", - "version": "0.0.58", + "version": "0.0.59", "license": "MIT", "dependencies": { "@koa/cors": "^5.0.0", diff --git a/package.json b/package.json index a377b37..4d52e47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vscode/test-web", - "version": "0.0.58", + "version": "0.0.59", "scripts": { "install-extensions": "npm i --prefix=fs-provider && npm i --prefix=sample", "compile": "tsc -b ./ && npm run compile-fs-provider", diff --git a/src/server/workbench.ts b/src/server/workbench.ts index 2bc4b10..52057a6 100644 --- a/src/server/workbench.ts +++ b/src/server/workbench.ts @@ -80,7 +80,7 @@ class Workbench { "importMapElement.textContent = JSON.stringify(importMap, undefined, 2);", "document.head.appendChild(importMapElement);", ""); - workbenchMain = workbenchMain.replace('./workbench.api', `${this.baseUrl}/out/vs/workbench/workbench.web.main.js`); + workbenchMain = workbenchMain.replace('./workbench.api', `${this.baseUrl}/out/vs/workbench/workbench.web.main.internal.js`); lines.push(``); } else { workbenchMain = workbenchMain.replace('./workbench.api', `${this.baseUrl}/out/vs/workbench/workbench.web.main.internal.js`);