()
| 37 | // Provides an in-memory Map that lasts the whole build process |
| 38 | // and disabled when on development mode (stubbed) |
| 39 | const createCachedMarkdownCache = () => { |
| 40 | if (IS_DEV_ENV) { |
| 41 | return { |
| 42 | has: () => false, |
| 43 | set: () => {}, |
| 44 | get: () => null, |
| 45 | }; |
| 46 | } |
| 47 | |
| 48 | return new Map(); |
| 49 | }; |
| 50 | |
| 51 | const getDynamicRouter = async () => { |
| 52 | // Creates a Cache System that is disabled during development mode |