12 lines
475 B
JavaScript
12 lines
475 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// Keep these out of the server bundle: better-sqlite3 is native; potrace/jimp are CommonJS and
|
|
// break when webpack-bundled ("Right-hand side of 'instanceof' is not callable" from `x instanceof Jimp`).
|
|
serverExternalPackages: ["better-sqlite3", "potrace", "jimp"],
|
|
// Privacy: no telemetry headers, no powered-by header.
|
|
poweredByHeader: false,
|
|
};
|
|
|
|
export default nextConfig;
|