UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

10 lines (9 loc) 426 B
import '../assertEnvVite.js'; export { getManifestFilePathRelative }; import { assert } from '../../../utils/assert.js'; function getManifestFilePathRelative(manifestConfig) { assert(['string', 'boolean'].includes(typeof manifestConfig)); assert(manifestConfig !== false); const manifestFileRelative = typeof manifestConfig === 'string' ? manifestConfig : '.vite/manifest.json'; return manifestFileRelative; }