GT2/Ejectable/node_modules/@react-native-community/cli-debugger-ui/build/middleware/index.js

36 lines
709 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.debuggerUIMiddleware = debuggerUIMiddleware;
function _serveStatic() {
const data = _interopRequireDefault(require("serve-static"));
_serveStatic = function () {
return data;
};
return data;
}
function _path() {
const data = _interopRequireDefault(require("path"));
_path = function () {
return data;
};
return data;
}
function debuggerUIMiddleware() {
return (0, _serveStatic().default)(_path().default.join(__dirname, '..', 'ui'), {
cacheControl: false
});
}
//# sourceMappingURL=index.js.map