Skip to content

Commit 4962417

Browse files
committed
Revert "ensure uploading source maps happens *after* they have been created"
This reverts commit c93fe0d.
1 parent 7372be0 commit 4962417

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

build/gulpfile.vscode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ gulp.task('vscode-translations-import', function () {
451451

452452
// Sourcemaps
453453

454-
gulp.task('upload-vscode-sourcemaps', ['vscode-darwin-min'/*here to ensure webpack has happened*/, 'minify-vscode'], () => {
454+
gulp.task('upload-vscode-sourcemaps', ['minify-vscode'], () => {
455455
const vs = gulp.src('out-vscode-min/**/*.map', { base: 'out-vscode-min' })
456456
.pipe(es.mapSync(f => {
457457
f.path = `${f.base}/core/${f.relative}`;

build/lib/extensions.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function fromLocal(extensionPath, sourceMappingURLBase) {
3636
// and merge its output with the files stream. also rewrite the package.json
3737
// file to a new entry point
3838
if (fs.existsSync(path.join(extensionPath, 'extension.webpack.config.js'))) {
39-
console.log("Using Webpack for \"" + extensionPath + "\"");
4039
var packageJsonFilter = filter('package.json', { restore: true });
4140
var patchFilesStream = filesStream
4241
.pipe(packageJsonFilter)
@@ -68,7 +67,6 @@ function fromLocal(extensionPath, sourceMappingURLBase) {
6867
fs.mkdirSync(path.dirname(data.path));
6968
}
7069
fs.writeFileSync(data.path, data.contents);
71-
console.log("Webpack source maps saved as \"" + data.path + "\"");
7270
}
7371
}
7472
this.emit('data', data);

build/lib/extensions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export function fromLocal(extensionPath: string, sourceMappingURLBase?: string):
4040
// and merge its output with the files stream. also rewrite the package.json
4141
// file to a new entry point
4242
if (fs.existsSync(path.join(extensionPath, 'extension.webpack.config.js'))) {
43-
console.log(`Using Webpack for "${extensionPath}"`);
44-
4543
const packageJsonFilter = filter('package.json', { restore: true });
4644

4745
const patchFilesStream = filesStream
@@ -76,7 +74,6 @@ export function fromLocal(extensionPath: string, sourceMappingURLBase?: string):
7674
fs.mkdirSync(path.dirname(data.path));
7775
}
7876
fs.writeFileSync(data.path, data.contents);
79-
console.log(`Webpack source maps saved as "${data.path}"`);
8077
}
8178
}
8279
this.emit('data', data);

0 commit comments

Comments
 (0)