Having an issue when used with concat where the sources [] array is all the name of concated file for all sources. So if you where concating 100 *.js files you will get a source map array like [ 'concated.js', 'concated.js'.... ] for all 100 files.
Rolling back to 2.6.0 fixed our issues. this is with all source map versions we tested, but specifically with 2.3.0 which is the latest.
Having an issue when used with concat where the sources [] array is all the name of concated file for all sources. So if you where concating 100 *.js files you will get a source map array like [ 'concated.js', 'concated.js'.... ] for all 100 files.
Rolling back to 2.6.0 fixed our issues. this is with all source map versions we tested, but specifically with 2.3.0 which is the latest.
This is the basic flow.
.pipe(sourcemaps.init()) .pipe(concat('bundle.js')) .pipe(sourcemaps.write())
We do set a a write path inside of write().