Uncommitted work-in-progress from 2026-07-08, carried forward: - audit-engine: refine two-pass metadata + content-inspection audit model - audit-matching, content-inspector, shape-audit-spec: supporting matching and spec updates for the two-pass model - task-audit route/panel: UI and API polish - add @napi-rs/canvas dependency, Dockerfile/next.config adjustments for it - test updates and additions (audit-engine, audit-decision-logic, run-task-audit) - add loose dev notes (clone runbook, issues implementation, overdue filter bug report, shared count helper plan)
12 lines
392 B
TypeScript
12 lines
392 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactCompiler: true,
|
|
output: 'standalone',
|
|
// pdf-parse and its optional native canvas dependency must not be bundled by
|
|
// Turbopack/webpack — see src/lib/imageright/content-inspector.ts.
|
|
serverExternalPackages: ['pdf-parse', '@napi-rs/canvas'],
|
|
};
|
|
|
|
export default nextConfig;
|