mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-26 01:08:57 +00:00
Add Next.js project files for SPA with image optimization
This commit is contained in:
10
nextjs/spa-with-image-optimization/next.config.mjs
Normal file
10
nextjs/spa-with-image-optimization/next.config.mjs
Normal file
@@ -0,0 +1,10 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
images: {
|
||||
loader: 'custom',
|
||||
loaderFile: './loader.js',
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user