perf: enable avif/webp image optimization formats
This commit is contained in:
parent
869ec1e6e9
commit
13e1221851
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ import type { NextConfig } from "next";
|
|||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
images: {
|
||||
formats: ["image/avif", "image/webp"],
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue