Generate sourcemaps with gulp and gulp-typescript

I’m using Aurelia and Typescript to build my web-app and it minifies the code into two files, app-bundle.js with app-bundle.js.map which contains my source code and vendor-bundle.js with vendor-bundle.js.map which contains the npm packages. These files are generated using gulp-sourcemaps like this:
“.pipe(sourcemaps.init())

.pipe(typescriptCompiler())

.pipe(sourcemaps.write({ sourceRoot: ‘src’ }))”

My typescript files are in src folder in the root project and once transpiled, they are minified and move in the scripts folder which contains the 2 bundle files with their source maps.

Anyone can help in how I can use gulp to generate the sourcemaps for sentry?