mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fix for source maps in extensions
This commit is contained in:
parent
9f0b720440
commit
332fd57d3f
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue