From 63d8ef2ee47e403b06907ffcb4145e54541552f9 Mon Sep 17 00:00:00 2001 From: mustafa0x Date: Tue, 24 Sep 2019 22:56:55 +0300 Subject: [PATCH] add `location` to globals --- src/compiler/utils/names.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index 8d9150bc18..86cd686564 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -23,6 +23,7 @@ export const globals = new Set([ 'isNaN', 'JSON', 'localStorage', + 'location', 'Map', 'Math', 'NaN',