Skip to content

Commit 81060cf

Browse files
committed
fix: fix missed sourcemap content on cache key
1 parent 66a8717 commit 81060cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/trace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function(unit, opts = {}) {
3838
JSON.stringify(shim),
3939
depsFinder ? depsFinder.toString() : '',
4040
contents,
41-
sourceMap
41+
JSON.stringify(sourceMap)
4242
].join('|');
4343
hash = generateHash(key);
4444
const cached = cache.getCache(hash);

0 commit comments

Comments
 (0)