Files
librechat.ai/lib/nextra-shims/meta-loader.cjs
Danny Avila a0a74501c9 chore: bump dev packages, linting, logos (#521)
* chore: upgrade eslint to v9

* chore: update package dependencies in package.json and pnpm-lock.yaml

- Added `minimatch` and `serialize-javascript` dependencies with updated versions.
- Upgraded `ajv` to version 6.14.0.
- Removed outdated dependencies from pnpm-lock.yaml for better package management.

* feat: add Stripe logos to Companies section

- Introduced new company entry for Stripe in the Companies component, including both light and dark logo variants.
- Updated the Companies array to display 10 logos instead of 8.
- Adjusted TypeScript environment reference to point to the development types directory.
2026-03-02 18:18:50 -05:00

16 lines
554 B
JavaScript

/**
* Webpack loader that replaces Nextra _meta.ts file content with a
* dummy React component default export. This prevents Next.js from
* failing during build optimization when it expects all files in
* pages/ to export a React component.
*
* This shim is temporary and will be removed once all pages/ content
* is migrated to the Fumadocs app/ directory.
*/
module.exports = function metaLoader() {
return `
export default function MetaPlaceholder() { return null; }
export const getStaticProps = () => ({ notFound: true });
`;
};