31 lines
517 B
TypeScript
31 lines
517 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
reactCompiler: true,
|
|
poweredByHeader: false,
|
|
turbopack: {
|
|
rules: {
|
|
"*.svg": {
|
|
loaders: ["@svgr/webpack"],
|
|
as: "*.js",
|
|
},
|
|
},
|
|
},
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: "/:path*.pdf",
|
|
headers: [
|
|
{
|
|
key: "Content-Disposition",
|
|
value: "inline",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|