Building assets

This page explains building assets like JavaScript and CSS files.

For the most part, the TypeScript, JavaScript and SCSS sources are contained in Build/Sources. These are compiled to target files, usually located in:

  • CSS: typo3/sysext/*/Resources/Public/Css
  • JavaScript: typo3/sysext/*/Resources/Public/JavaScript

If you make changes to the source files, you can build locally using

Build/Scripts/ -s buildCss
Build/Scripts/ -s buildJavascript

It is also possible to lint the files locally:

Build/Scripts/ -s lintScss
Build/Scripts/ -s lintTypescript