Files
Fluxup_PAP/node_modules/@expo/metro-config/build/serializer/jsOutput.js
2026-03-10 16:18:05 +00:00

13 lines
576 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isExpoJsOutput = isExpoJsOutput;
exports.isTransformOptionTruthy = isTransformOptionTruthy;
function isExpoJsOutput(output) {
return 'data' in output && typeof output.data === 'object';
}
// Because transform options can be passed directly during export, or through a query parameter
// during a request, we need to normalize the options.
function isTransformOptionTruthy(option) {
return option === true || option === 'true' || option === '1';
}
//# sourceMappingURL=jsOutput.js.map