2
2
* Copyright (C) Gitpod. All rights reserved.
3
3
*--------------------------------------------------------*/
4
4
5
- // @ts -check
6
5
'use strict' ;
7
6
8
7
const cp = require ( 'child_process' ) ;
9
8
const gulp = require ( 'gulp' ) ;
10
9
const path = require ( 'path' ) ;
11
10
const es = require ( 'event-stream' ) ;
12
11
const util = require ( './lib/util' ) ;
12
+ const buildfile = require ( '../src/buildfile' ) ;
13
13
const task = require ( './lib/task' ) ;
14
14
const common = require ( './lib/optimize' ) ;
15
15
const product = require ( '../product.json' ) ;
@@ -77,14 +77,13 @@ function defineTasks(options) {
77
77
'!**/test/**'
78
78
] ;
79
79
80
- const buildfile = require ( '../src/buildfile' ) ;
81
-
82
80
const webEntryPoints = _ . flatten ( [
83
81
buildfile . entrypoint ( 'vs/workbench/workbench.web.api' ) ,
84
82
buildfile . base ,
85
83
buildfile . workerExtensionHost ,
86
84
buildfile . workerNotebook ,
87
85
buildfile . workerLanguageDetection ,
86
+ buildfile . workerLocalFileSearch ,
88
87
buildfile . keyboardMaps ,
89
88
buildfile . workbenchWeb
90
89
] ) . map ( p => {
@@ -100,10 +99,7 @@ function defineTasks(options) {
100
99
const serverEntryPoints = _ . flatten ( [
101
100
buildfile . entrypoint ( `vs/${ qualifier } /node/cli` ) ,
102
101
buildfile . entrypoint ( `vs/${ qualifier } /node/server` ) ,
103
- buildfile . entrypoint ( 'vs/workbench/services/extensions/node/extensionHostProcess' ) ,
104
- buildfile . entrypoint ( 'vs/platform/files/node/watcher/unix/watcherApp' ) ,
105
- buildfile . entrypoint ( 'vs/platform/files/node/watcher/nsfw/watcherApp' ) ,
106
- buildfile . entrypoint ( 'vs/platform/terminal/node/ptyHostMain' )
102
+ buildfile . codeServer
107
103
] ) ;
108
104
109
105
const outWeb = `out-${ qualifier } -web` ;
0 commit comments