securityos/node_modules/next/dist/lib/is-edge-runtime.js

16 lines
445 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "isEdgeRuntime", {
enumerable: true,
get: function() {
return isEdgeRuntime;
}
});
const _constants = require("./constants");
function isEdgeRuntime(value) {
return value === _constants.SERVER_RUNTIME.experimentalEdge || value === _constants.SERVER_RUNTIME.edge;
}
//# sourceMappingURL=is-edge-runtime.js.map