Полный коммит проекта Perplexica

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
home
2026-02-20 14:56:42 +03:00
parent d389676f50
commit b65d24c1e8
222 changed files with 30405 additions and 0 deletions

26
next.config.mjs Normal file
View File

@@ -0,0 +1,26 @@
import pkg from './package.json' with { type: 'json' };
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{
hostname: 's2.googleusercontent.com',
},
],
},
serverExternalPackages: ['pdf-parse'],
outputFileTracingIncludes: {
'/api/**': [
'./node_modules/@napi-rs/canvas/**',
'./node_modules/@napi-rs/canvas-linux-x64-gnu/**',
'./node_modules/@napi-rs/canvas-linux-x64-musl/**',
],
},
env: {
NEXT_PUBLIC_VERSION: pkg.version,
},
};
export default nextConfig;