Huge number of changes, upgrade to next 15, add loads of pages, auth, add ci, loads of clean up, a db for images etc
This commit is contained in:
@@ -1,20 +1,33 @@
|
||||
import million from "million/compiler";
|
||||
import createMDX from '@next/mdx'
|
||||
import createMDX from "@next/mdx";
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
||||
swcMinify: true,
|
||||
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
|
||||
experimental: {
|
||||
reactCompiler: true,
|
||||
ppr: true,
|
||||
},
|
||||
serverExternalPackages: ["typeorm"],
|
||||
reactStrictMode: true,
|
||||
output: "standalone",
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "fly.storage.tigris.dev"
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
const millionConfig = {
|
||||
auto: { rsc: true }, rsc: true
|
||||
}
|
||||
auto: { rsc: true },
|
||||
rsc: true,
|
||||
};
|
||||
|
||||
const withMDX = createMDX({
|
||||
// Add markdown plugins here, as desired
|
||||
})
|
||||
});
|
||||
|
||||
export default withMDX(million.next(nextConfig, millionConfig));
|
||||
|
||||
Reference in New Issue
Block a user