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;