Skip to content

Commit 80d23c9

Browse files
authored
remove _VSCODE_NODE_MODULES magic from bootstrap-window because they are not sandboxed/node-free (microsoft#186744)
1 parent 1497187 commit 80d23c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/bootstrap-window.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@
8888

8989
window['MonacoEnvironment'] = {};
9090

91-
// VSCODE_GLOBALS: node_modules
92-
globalThis._VSCODE_NODE_MODULES = new Proxy(Object.create(null), { get: (_target, mod) => (require.__$__nodeRequire ?? require)(String(mod)) });
93-
9491
const loaderConfig = {
9592
baseUrl: `${bootstrapLib.fileUriFromPath(configuration.appRoot, { isWindows: safeProcess.platform === 'win32', scheme: 'vscode-file', fallbackAuthority: 'vscode-app' })}/out`,
9693
'vs/nls': nlsConfig,

0 commit comments

Comments
 (0)