diff --git a/src/runtime/internal/globals.js b/src/runtime/internal/globals.js index c9fa7ab38b..e2e3cc4257 100644 --- a/src/runtime/internal/globals.js +++ b/src/runtime/internal/globals.js @@ -1,9 +1,2 @@ -export const globals = (typeof window !== 'undefined' - ? window - : typeof globalThis !== 'undefined' - ? globalThis - : global); - - - - +export const globals = + typeof window !== 'undefined' ? window : typeof globalThis !== 'undefined' ? globalThis : global;