Skip to content

Commit 7365166

Browse files
committed
build - exclude server main files
1 parent 18b765f commit 7365166

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

build/gulpfile.reh.js

+5-15
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,15 @@ const serverResources = [
5858
'out-build/bootstrap-fork.js',
5959
'out-build/bootstrap-amd.js',
6060
'out-build/bootstrap-node.js',
61+
'out-build/paths.js',
6162

6263
// Performance
6364
'out-build/vs/base/common/performance.js',
6465

66+
// main entry points
67+
'out-build/server-cli.js',
68+
'out-build/server-main.js',
69+
6570
// Watcher
6671
'out-build/vs/platform/files/**/*.exe',
6772
'out-build/vs/platform/files/**/*.md',
@@ -364,21 +369,6 @@ function tweakProductForServerWeb(product) {
364369
inlineAmdImages: true,
365370
bundleInfo: undefined,
366371
fileContentMapper: createVSCodeWebFileContentMapper('.build/extensions', type === 'reh-web' ? tweakProductForServerWeb(product) : product)
367-
},
368-
commonJS: {
369-
src: 'out-build',
370-
entryPoints: [
371-
'out-build/server-main.js',
372-
'out-build/server-cli.js'
373-
],
374-
platform: 'node',
375-
external: [
376-
'minimist',
377-
// TODO: we cannot inline `product.json` because
378-
// it is being changed during build time at a later
379-
// point in time (such as `checksums`)
380-
'../product.json'
381-
]
382372
}
383373
}
384374
)

0 commit comments

Comments
 (0)