When using sorcery.loadSync() instead of the asynchronous version sorcery.load(), the sourcesContentByPath map is not populated. The result is that the generated sourcemap's sourcesContent array only contains dozens of null, so the output isn't usable.
When using
sorcery.loadSync()
instead of the asynchronous versionsorcery.load()
, thesourcesContentByPath
map is not populated. The result is that the generated sourcemap'ssourcesContent
array only contains dozens ofnull
, so the output isn't usable.