Hi @bxclib2, after digging in deeper and help from our team. I was able to solve this issue by using the outputFileTracingIncludes
option to explicitly include the data directory:
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
outputFileTracingIncludes: {
'/': ['./src/data/*']
}
};
This should solve the issue for you as well.