UNPKG

@remix-run/server-runtime

Version:
23 lines (19 loc) 554 B
/** * @remix-run/server-runtime v2.16.8 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function createEntryRouteModules(manifest) { return Object.keys(manifest).reduce((memo, routeId) => { memo[routeId] = manifest[routeId].module; return memo; }, {}); } exports.createEntryRouteModules = createEntryRouteModules;