Initial commit from Create Llama
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
import fs from "fs";
|
||||
import withLlamaIndex from "llamaindex/next";
|
||||
import webpack from "./webpack.config.mjs";
|
||||
|
||||
const nextConfig = JSON.parse(fs.readFileSync("./next.config.json", "utf-8"));
|
||||
nextConfig.webpack = webpack;
|
||||
|
||||
// use withLlamaIndex to add necessary modifications for llamaindex library
|
||||
export default withLlamaIndex(nextConfig);
|
||||
Reference in New Issue
Block a user