Files
vps-panel/next.config.ts
T

18 lines
472 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ['lighthouse', 'chrome-launcher'],
outputFileTracingIncludes: {
'/api/insight': [
'./node_modules/lighthouse/**/*',
'./node_modules/axe-core/**/*',
'./node_modules/js-library-detector/**/*',
'./node_modules/lighthouse-logger/**/*',
'./node_modules/puppeteer-core/**/*'
],
},
};
export default nextConfig;