Skip to content

Commit e4a837a

Browse files
author
Benjamin Pasero
committed
web - rename entry point
1 parent e75e71f commit e4a837a

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/vs/code/browser/workbench/workbench-dev.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
default-src 'self';
1515
img-src 'self' https: data: blob:;
1616
media-src 'none';
17-
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-4DqvCTjCHj2KW4QxC/Yt6uBwMRyYiEg7kOoykSEkonQ=' 'sha256-g94DXzh59qc37AZjL7sV1lYN7OX4K1fgKl4ts5tAQDw=';
17+
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-4DqvCTjCHj2KW4QxC/Yt6uBwMRyYiEg7kOoykSEkonQ=' 'sha256-4i4ZKOTzR9VPdhew0hOqnhvy09L6eRM2iyzJlc5loi4=';
1818
child-src 'self';
1919
frame-src 'self' {{WEBVIEW_ENDPOINT}} https://*.vscode-webview-test.com;
2020
worker-src 'self';
@@ -33,7 +33,6 @@
3333
<!-- Workbench Icon/Manifest/CSS -->
3434
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
3535
<link rel="manifest" href="/manifest.json">
36-
<link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="./static/out/vs/workbench/workbench.web.api.css">
3736
</head>
3837

3938
<body aria-label="">
@@ -58,7 +57,7 @@
5857
<script src="./static/out/vs/loader.js"></script>
5958
<script>
6059
// NOTE: Changes to inline scripts require update of content security policy
61-
require(['vs/code/browser/workbench/web.main'], function (web) {
60+
require(['vs/code/browser/workbench/workbench'], function (web) {
6261
web.main();
6362
});
6463
</script>

src/vs/code/browser/workbench/workbench.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
default-src 'self';
1515
img-src 'self' https: data: blob:;
1616
media-src 'none';
17-
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-4DqvCTjCHj2KW4QxC/Yt6uBwMRyYiEg7kOoykSEkonQ=' 'sha256-kXwJWoOluR7vyWhuqykdzYEHvOuOu2ZZhnBm0EBbYvU=';
17+
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https: 'sha256-4DqvCTjCHj2KW4QxC/Yt6uBwMRyYiEg7kOoykSEkonQ=' 'sha256-4i4ZKOTzR9VPdhew0hOqnhvy09L6eRM2iyzJlc5loi4=';
1818
child-src 'self';
1919
frame-src 'self' {{WEBVIEW_ENDPOINT}} https://*.vscode-webview-test.com;
2020
worker-src 'self';
@@ -62,9 +62,10 @@
6262
<script src="./static/out/vs/loader.js"></script>
6363
<script src="./static/out/vs/workbench/workbench.web.api.nls.js"></script>
6464
<script src="./static/out/vs/workbench/workbench.web.api.js"></script>
65-
<script src="./static/out/vs/code/browser/workbench/web.main.js"></script>
65+
<script src="./static/out/vs/code/browser/workbench/workbench.js"></script>
6666
<script>
67-
require(['vs/code/browser/workbench/web.main'], function (web) {
67+
// NOTE: Changes to inline scripts require update of content security policy
68+
require(['vs/code/browser/workbench/workbench'], function (web) {
6869
web.main();
6970
});
7071
</script>
File renamed without changes.

src/vs/workbench/buildfile.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ function createModuleDescription(name, exclude) {
2020
exports.collectModules = function () {
2121
return [
2222
createModuleDescription('vs/workbench/contrib/output/common/outputLinkComputer', ['vs/base/common/worker/simpleWorker', 'vs/editor/common/services/editorSimpleWorker']),
23-
createModuleDescription('vs/code/browser/workbench/web.main', ['vs/workbench/workbench.web.api']),
23+
createModuleDescription('vs/code/browser/workbench/workbench', ['vs/workbench/workbench.web.api']),
2424
];
2525
};

0 commit comments

Comments
 (0)