From 37cebef49958a414fb5b026dbd28ba59e1e8f3fa Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 08:37:30 +0000 Subject: [PATCH] fix: update netlify configuration with processing settings Co-Authored-By: G --- netlify.toml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index ca85569..19a1525 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,6 +8,23 @@ NEXT_USE_NETLIFY = "true" NEXT_STATIC_EXPORT = "true" +[build.processing] + skip_processing = false + +[build.processing.html] + pretty_urls = true + +[build.processing.css] + bundle = true + minify = true + +[build.processing.js] + bundle = true + minify = true + +[build.processing.images] + compress = true + [functions] node_bundler = "esbuild" included_files = ["app/api/**"] @@ -20,11 +37,16 @@ force = true [[redirects]] - from = "/*" + from = "/" to = "/index.html" status = 200 force = true +[[redirects]] + from = "/*" + to = "/404.html" + status = 404 + [[headers]] for = "/api/*" [headers.values]