diff options
author | Benjamin Pasero <benjpas@microsoft.com> | 2020-09-22 09:40:57 +0300 |
---|---|---|
committer | Benjamin Pasero <benjpas@microsoft.com> | 2020-09-22 09:40:57 +0300 |
commit | 7c5934902c01f366c2042a6c350179dae22b82cc (patch) | |
tree | eace439c5e7d7e8a5c95e61110ac36e099186cc3 /src/bootstrap-window.js | |
parent | 5497e60ed2cde7565766dea5151d0972159d23bc (diff) |
sandbox - self invoke functions for shared process, issues and process explorer
Diffstat (limited to 'src/bootstrap-window.js')
-rw-r--r-- | src/bootstrap-window.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap-window.js b/src/bootstrap-window.js index 133587e4aae..d3d05e5578f 100644 --- a/src/bootstrap-window.js +++ b/src/bootstrap-window.js @@ -107,6 +107,10 @@ 'vs/nls': nlsConfig }; + // Enable loading of node modules: + // - sandbox: we list paths of webpacked modules to help the loader + // - non-sandbox: we signal that any module that does not begin with + // `vs/` should be loaded using node.js require() if (sandbox) { loaderConfig.paths = { 'vscode-textmate': `../node_modules/vscode-textmate/release/main`, |