1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/cli/bench/testdata/npm/hono/dist/middleware/serve-static/module.mjs

14 lines
431 B
JavaScript
Raw Normal View History

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
// For ES module mode
import manifest from '__STATIC_CONTENT_MANIFEST';
import { serveStatic } from './serve-static';
const module = (options = { root: '' }) => {
return serveStatic({
root: options.root,
path: options.path,
manifest: options.manifest ? options.manifest : manifest,
});
};
export { module as serveStatic };