From 3ff1dd010dcac5d5d36080e26f0c7c90519e8d2b 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',