UNPKG

vike

Version:

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

13 lines (12 loc) 518 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertNodeVersion = assertNodeVersion; const isNodeJS_js_1 = require("./isNodeJS.js"); const assertVersion_js_1 = require("./assertVersion.js"); // node_modules/vike/package.json#engines.node isn't enough as users can ignore it function assertNodeVersion() { if (!(0, isNodeJS_js_1.isNodeJS)()) return; const version = process.versions.node; (0, assertVersion_js_1.assertVersion)('Node.js', version, '18.0.0'); }