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 runTests.sh:

Build/Scripts/runTests.sh -s buildCss
Build/Scripts/runTests.sh -s buildJavascript
Copied!

It is also possible to lint the files locally:

Build/Scripts/runTests.sh -s lintScss
Build/Scripts/runTests.sh -s lintTypescript
Copied!