diff --git a/src/compiler/compile/utils/hash.ts b/src/compiler/compile/utils/hash.ts index 190904cc6f..e10013aca2 100644 --- a/src/compiler/compile/utils/hash.ts +++ b/src/compiler/compile/utils/hash.ts @@ -1,6 +1,6 @@ // https://github.com/darkskyapp/string-hash/blob/master/index.js export default function hash(str: string): string { - str = str.replace(/\r/g, "") + str = str.replace(/\r/g, ""); let hash = 5381; let i = str.length;