Skip to content

Commit 2c9d18d

Browse files
author
Christopher Quadflieg
committed
Prevent missing sourcemap warning
1 parent 4144faa commit 2c9d18d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export default (): Plugin => ({
1212
}
1313
}
1414

15-
return code;
15+
return {
16+
code,
17+
map: null, // Prevent missing sourcemap warning
18+
};
1619
},
1720
});

0 commit comments

Comments
 (0)