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]