blob: 968fd4433b56fd50707ff51e5449e745fa3d5c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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 };
|