import { RACCOON_DEV_ENABLED } from '../dev' export function isTopWindow() { return window === window.top } export function isDev() { return process.env.NODE_ENV === 'development' } /** * Whether is running a Raccoon application in a standalone development environment, * without being embedded in the VTEX Admin. */ export function isStandalone() { return isDev() && isTopWindow() && RACCOON_DEV_ENABLED }