File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 3
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
4
*--------------------------------------------------------------------------------------------*/
5
5
6
+ function entrypoint ( name ) {
7
+ return [ { name : name , include : [ ] , exclude : [ 'vs/css' , 'vs/nls' ] } ] ;
8
+ }
9
+
6
10
exports . base = [ {
7
11
name : 'vs/base/common/worker/simpleWorker' ,
8
12
include : [ 'vs/editor/common/services/editorSimpleWorker' ] ,
@@ -20,10 +24,14 @@ exports.serviceWorker = [{
20
24
} ] ;
21
25
22
26
exports . workbench = require ( './vs/workbench/buildfile' ) . collectModules ( [ 'vs/workbench/workbench.desktop.main' ] ) ;
23
- exports . workbenchWeb = require ( './vs/workbench/buildfile' ) . collectModules ( [ 'vs/workbench/workbench.web.api' ] ) ;
27
+ exports . workbenchWeb = entrypoint ( 'vs/workbench/workbench.web.api' ) ;
28
+
29
+ exports . keyboardMaps = [
30
+ entrypoint ( 'vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux' ) ,
31
+ entrypoint ( 'vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin' ) ,
32
+ entrypoint ( 'vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win' )
33
+ ] ;
24
34
25
35
exports . code = require ( './vs/code/buildfile' ) . collectModules ( ) ;
26
36
27
- exports . entrypoint = function ( name ) {
28
- return [ { name : name , include : [ ] , exclude : [ 'vs/css' , 'vs/nls' ] } ] ;
29
- } ;
37
+ exports . entrypoint = entrypoint ;
You can’t perform that action at this time.
0 commit comments