securityos/node_modules/next/dist/shared/lib/amp-mode.js

16 lines
419 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, "isInAmpMode", {
enumerable: true,
get: function() {
return isInAmpMode;
}
});
function isInAmpMode(param) {
let { ampFirst = false, hybrid = false, hasQuery = false } = param === void 0 ? {} : param;
return ampFirst || hybrid && hasQuery;
}
//# sourceMappingURL=amp-mode.js.map