Skip to content

Commit

Permalink
fix for running from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Sep 6, 2024
1 parent bd939c3 commit 1e6d95d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/server/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Workbench {
"importMapElement.textContent = JSON.stringify(importMap, undefined, 2);",
"document.head.appendChild(importMapElement);",
"</script>");
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(`<script type="module">${workbenchMain}</script>`);
} else {
workbenchMain = workbenchMain.replace('./workbench.api', `${this.baseUrl}/out/vs/workbench/workbench.web.main.internal.js`);
Expand Down

0 comments on commit 1e6d95d

Please sign in to comment.