mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:32:35 -05:00
Fix for source maps in extensions
This commit is contained in:
@@ -77,7 +77,7 @@ const tasks = compilations.map(function(tsconfigFile) {
|
||||
sourceMappingURL: !build ? null : f => `${ baseUrl }/${ f.relative }.map`,
|
||||
addComment: !!build,
|
||||
includeContent: !!build,
|
||||
sourceRoot: file => '../'.repeat(file.relative.split(path.sep).length) + 'src'
|
||||
sourceRoot: '../src'
|
||||
}))
|
||||
.pipe(tsFilter.restore)
|
||||
.pipe(build ? nlsDev.createAdditionalLanguageFiles(languages, i18n, out) : es.through())
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
"noLib": true,
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../src",
|
||||
"outDir": "./out"
|
||||
},
|
||||
"exclude": [
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
"noLib": true,
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../src",
|
||||
"outDir": "./out"
|
||||
},
|
||||
"exclude": [
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
"noLib": true,
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../src",
|
||||
"outDir": "./out"
|
||||
},
|
||||
"exclude": [
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
"gulp-replace": "^0.5.4",
|
||||
"gulp-shell": "^0.5.2",
|
||||
"gulp-sourcemaps": "^1.6.0",
|
||||
"gulp-tsb": "^2.0.1",
|
||||
"gulp-tsb": "^2.0.2",
|
||||
"gulp-tslint": "^4.3.0",
|
||||
"gulp-uglify": "^2.0.0",
|
||||
"gulp-util": "^3.0.6",
|
||||
|
||||
Reference in New Issue
Block a user