Skip to content

Commit 09ed67e

Browse files
committed
include TypeScript version in the transpiled file hash
1 parent d4061b6 commit 09ed67e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tsl/transpile.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export async function transpile(source, fileName) {
3131
.update(fileName)
3232
.update(source)
3333
.update(JSON.stringify(options))
34+
.update(ts.version)
3435
.digest("hex");
3536
const cachedFilename = `/tmp/tsl/${slug}_${hash}.js`;
3637
try {

0 commit comments

Comments
 (0)