24 lines
424 B
TypeScript
24 lines
424 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactCompiler: true,
|
|
output: "standalone",
|
|
serverExternalPackages: [
|
|
"@napi-rs/canvas",
|
|
"sharp",
|
|
"tesseract.js",
|
|
"pdfjs-dist",
|
|
],
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "lh3.googleusercontent.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|