Closed cspeer closed 8 years ago
I just stumbled upon the fact, that if i set:
.pipe(sourcemaps.init({ loadMaps: true }))
everything is fine. Not sure why.
Ok, I'm sorry. The problem is https://github.com/Josiah/gulp-cachebust Please just disregard everything I said before. It's been a long day... But using cachebuster, even before sourcemaps.init() results in sourcesContent being [null]
💖 glad it was worked out!
Hi there,
when I try to create sourcemaps for javascript files as described in the ReadMe, the
sourcesContent
attribute in the generated source map is just[null]
:Everything works perfect if I skip the minifying part.
Any ideas?
Thanks, Chris