Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Pasero <benjamin.pasero@microsoft.com>2021-09-03 19:44:44 +0300
committerBenjamin Pasero <benjamin.pasero@microsoft.com>2021-09-03 19:44:49 +0300
commitf8eb737b8286b8062036606ab760f4a59e58b333 (patch)
tree69ac35596c56ac916277b778e519c7b5883369c4 /src/bootstrap-window.js
parentfc1a1e8f13af4fcf9c5b60e0a24bd14074f8c810 (diff)
loader - configure path to be `node_modules.asar` (#130302)
Diffstat (limited to 'src/bootstrap-window.js')
-rw-r--r--src/bootstrap-window.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bootstrap-window.js b/src/bootstrap-window.js
index d544c47bea5..0f613a8ee4e 100644
--- a/src/bootstrap-window.js
+++ b/src/bootstrap-window.js
@@ -128,16 +128,16 @@
// This will enable to load these modules via <script> tags instead of
// using a fallback such as node.js require which does not exist in sandbox
loaderConfig.paths = {
- 'vscode-textmate': '../node_modules/vscode-textmate/release/main.js',
- 'vscode-oniguruma': '../node_modules/vscode-oniguruma/release/main.js',
- 'xterm': '../node_modules/xterm/lib/xterm.js',
- 'xterm-addon-search': '../node_modules/xterm-addon-search/lib/xterm-addon-search.js',
- 'xterm-addon-unicode11': '../node_modules/xterm-addon-unicode11/lib/xterm-addon-unicode11.js',
- 'xterm-addon-webgl': '../node_modules/xterm-addon-webgl/lib/xterm-addon-webgl.js',
- 'iconv-lite-umd': '../node_modules/iconv-lite-umd/lib/iconv-lite-umd.js',
- 'jschardet': '../node_modules/jschardet/dist/jschardet.min.js',
- '@vscode/vscode-languagedetection': '../node_modules/@vscode/vscode-languagedetection/dist/lib/index.js',
- 'tas-client-umd': '../node_modules/tas-client-umd/lib/tas-client-umd.js'
+ 'vscode-textmate': '../node_modules.asar/vscode-textmate/release/main.js',
+ 'vscode-oniguruma': '../node_modules.asar/vscode-oniguruma/release/main.js',
+ 'xterm': '../node_modules.asar/xterm/lib/xterm.js',
+ 'xterm-addon-search': '../node_modules.asar/xterm-addon-search/lib/xterm-addon-search.js',
+ 'xterm-addon-unicode11': '../node_modules.asar/xterm-addon-unicode11/lib/xterm-addon-unicode11.js',
+ 'xterm-addon-webgl': '../node_modules.asar/xterm-addon-webgl/lib/xterm-addon-webgl.js',
+ 'iconv-lite-umd': '../node_modules.asar/iconv-lite-umd/lib/iconv-lite-umd.js',
+ 'jschardet': '../node_modules.asar/jschardet/dist/jschardet.min.js',
+ '@vscode/vscode-languagedetection': '../node_modules.asar/@vscode/vscode-languagedetection/dist/lib/index.js',
+ 'tas-client-umd': '../node_modules.asar/tas-client-umd/lib/tas-client-umd.js'
};
// For priviledged renderers, allow to load built-in and other node.js