From 5847ce5c1419c971e47f8373926ffb9f4efda053 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 28 Nov 2025 23:21:14 +0200 Subject: [PATCH] feat(dev): enable CSS source maps --- apps/server/src/routes/assets.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/server/src/routes/assets.ts b/apps/server/src/routes/assets.ts index d8854d31a..7fc3f1a27 100644 --- a/apps/server/src/routes/assets.ts +++ b/apps/server/src/routes/assets.ts @@ -27,7 +27,8 @@ async function register(app: express.Application) { appType: "custom", cacheDir: path.join(srcRoot, "../../.cache/vite"), base: `/${assetUrlFragment}/`, - root: clientDir + root: clientDir, + css: { devSourcemap: true } }); app.use(`/${assetUrlFragment}/`, (req, res, next) => { req.url = `/${assetUrlFragment}` + req.url;