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/
. These are compiled to target files, usually located in:
- CSS:
typo3/
sysext/*/ Resources/ Public/ Css - JavaScript:
typo3/
sysext/*/ Resources/ Public/ Java Script
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!
Remember to commit the compiled files alongside any patches, they are part of the monorepo.