add source maps for ts compilation

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
Vishwas Shashidhar
2020-03-31 21:29:07 +05:30
parent 5338649aaf
commit 523fe40538
3 changed files with 1026 additions and 503 deletions

View File

@@ -18,7 +18,9 @@ gulp.task('clean', function() {
*/
gulp.task('compile', function() {
return tsProject.src()
.pipe(sourcemaps.init())
.pipe(tsProject())
.pipe(sourcemaps.write('.'))
.on('error', (err) => console.log(err))
.pipe(gulp.dest('lib/'))
});

1524
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -50,7 +50,8 @@
"!tests/*",
"!node_modules/@nornagon/cld/deps/cld${/*}",
"!node_modules/@nornagon/cld/build/deps${/*}",
"!node_modules/@nornagon/spellchecker/vendor${/*}"
"!node_modules/@nornagon/spellchecker/vendor${/*}",
"!**/*.map"
],
"extraFiles": [
"config/Symphony.config",