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>
16 lines
331 B
TOML
16 lines
331 B
TOML
[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
|