---
title: "Task: Deliver the frontend minified"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791146677@main"
source: "Changelog/1.0.0/Task-1791146677-DeliverTheFrontendMinified.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Deliver the frontend minified {#task-1791146677}

## Description {#description}

The scripts and styles every package ships in its `public/` folder are now minified (scripts with terser, which
also removes the whitespace and comments esbuild keeps in a library build; styles compressed by Sass). Source maps
are no longer part of the build: `npm run build -- --sourcemap` (\``Build/Scripts/runTests.sh -s buildJs --
--sourcemap``, ``ddev vite --sourcemap`\`) writes them for local debugging, and they are git-ignored. A
`pre-push` hook in `Build/git-hooks/` refuses a push whose commits carry a build made with maps; activate it
once with `git config core.hooksPath Build/git-hooks`.

## Impact {#impact}

Pages load less script and style data. To debug the TypeScript or SCSS in a browser, build locally with
`--sourcemap` and rebuild without it before committing.
