'sourceMap' and 'sourceMappingURL'  supported either a function or a string