File tree Expand file tree Collapse file tree
code/electron-browser/workbench Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ const bootstrapWindow = require('../../../../bootstrap-window');
1414// Setup shell environment
1515process [ 'lazyEnv' ] = getLazyEnv ( ) ;
1616
17- // Load workbench main
17+ // Load workbench main JS, CSS and NLS all in parallel. This is an
18+ // optimization to prevent a waterfall of loading to happen, because
19+ // we know for a fact that workbench.desktop.main will depend on
20+ // the related CSS and NLS counterparts.
1821bootstrapWindow . load ( [
1922 'vs/workbench/workbench.desktop.main' ,
2023 'vs/nls!vs/workbench/workbench.desktop.main' ,
Original file line number Diff line number Diff line change 44 *--------------------------------------------------------------------------------------------*/
55
66import 'vs/workbench/workbench.web.main' ;
7- import 'vs/nls!vs/workbench/workbench.web.main' ;
8- import 'vs/css!vs/workbench/workbench.web.main' ;
97import { main } from 'vs/workbench/browser/web.main' ;
108import { UriComponents } from 'vs/base/common/uri' ;
119import { IFileSystemProvider } from 'vs/platform/files/common/files' ;
You can’t perform that action at this time.
0 commit comments