mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 00:05:28 +01:00
upload-sourcemaps: fix typings
This commit is contained in:
@@ -10,6 +10,7 @@ import * as es from 'event-stream';
|
||||
import * as Vinyl from 'vinyl';
|
||||
import * as vfs from 'vinyl-fs';
|
||||
import * as util from '../lib/util';
|
||||
// @ts-ignore
|
||||
import * as deps from '../dependencies';
|
||||
const azure = require('gulp-azure-storage');
|
||||
|
||||
@@ -35,7 +36,7 @@ function main() {
|
||||
const vs = src('out-vscode-min'); // client source-maps only
|
||||
sources.push(vs);
|
||||
|
||||
const productionDependencies = deps.getProductionDependencies(root);
|
||||
const productionDependencies: { name: string, path: string, version: string }[] = deps.getProductionDependencies(root);
|
||||
const productionDependenciesSrc = productionDependencies.map(d => path.relative(root, d.path)).map(d => `./${d}/**/*.map`);
|
||||
const nodeModules = vfs.src(productionDependenciesSrc, { base: '.' })
|
||||
.pipe(util.cleanNodeModules(path.join(root, 'build', '.moduleignore')));
|
||||
|
||||
Reference in New Issue
Block a user