mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-02 17:46:56 +00:00
27 lines
594 B
JavaScript
27 lines
594 B
JavaScript
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;
|