UNPKG

ayanami

Version:
13 lines (12 loc) 495 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SSREnabled = exports.isSSREnabled = void 0; var isSSREnabled = function () { return typeof process.env.ENABLE_AYANAMI_SSR !== 'undefined' ? process.env.ENABLE_AYANAMI_SSR === 'true' : typeof process !== 'undefined' && process.versions && typeof process.versions.node === 'string'; }; exports.isSSREnabled = isSSREnabled; exports.SSREnabled = exports.isSSREnabled();