mirror of
https://github.com/duongcamcute/tech-gadget-manager.git
synced 2026-06-27 22:36:08 +00:00
fix: cast nextConfig to any to bypass strict typescript check
This commit is contained in:
@@ -7,10 +7,10 @@ const withPWA = require("next-pwa")({
|
||||
disable: process.env.NODE_ENV === "development",
|
||||
});
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
const nextConfig: any = {
|
||||
output: "standalone",
|
||||
experimental: {
|
||||
// Explicitly include the database file in the serverless function bundle
|
||||
// @ts-expect-error: outputFileTracingIncludes is a valid option but missing in some type definitions
|
||||
outputFileTracingIncludes: {
|
||||
"/api/**/*": ["./prisma/dev.db"],
|
||||
"/**/*": ["./prisma/dev.db"]
|
||||
|
||||
Reference in New Issue
Block a user