From 0cabb880356fa71b87669967f90871087c3c7397 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Mon, 2 Feb 2026 10:31:19 +1100 Subject: [PATCH] Enable source maps for JavaScript and CSS - Add vite.build.sourcemap for production builds - Add vite.css.devSourcemap for CSS in development --- website/astro.config.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index af3ccdc5..e0176df0 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -11,4 +11,12 @@ export default defineConfig({ assets: "assets", }, trailingSlash: "always", + vite: { + build: { + sourcemap: true, + }, + css: { + devSourcemap: true, + }, + }, });