/** * Entry point: @intecion/ipal-kit/env * * Environment validation ONLY — zero imports beyond this module, no Payload, * no Node built-ins, no React. Safe for Next's instrumentation.ts, which Next * also compiles for the Edge runtime: importing the package root there drags in * Payload / file-type / fs and crashes Turbopack ("Export fileTypeFromFile * doesn't exist in target module"). * * // src/instrumentation.ts * import { assertEnv, ipalEnvRules } from '@intecion/ipal-kit/env' * export function register() { * if (process.env.NEXT_RUNTIME === 'nodejs') assertEnv(ipalEnvRules({ storage: true })) * } */ export { assertEnv, ipalEnvRules } from '../modules/env/index.js'; //# sourceMappingURL=env.js.map