Add netlify.toml, disable JS/CSS post-processing

Netlify's asset post-processing was re-minifying Vite's output
and causing esbuild syntax errors. Disable it since Astro/Vite
already handles bundling and minification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Neeldhara Misra 2026-04-17 03:30:42 +05:30
parent 9b182053f1
commit fd8bbe16e6

16
netlify.toml Normal file
View file

@ -0,0 +1,16 @@
[build]
command = "npm run build"
publish = "dist"
[build.environment]
NODE_VERSION = "22"
# Disable Netlify's asset post-processing — Astro/Vite handles bundling
[build.processing]
skip_processing = false
[build.processing.js]
bundle = false
minify = false
[build.processing.css]
bundle = false
minify = false