[TASK] Improve consecutive build performance
To improve the consecutive build experience, several caches now kick in to only lint and compile files that are necessary. Following changes are done in this patch: - added cache for eslint - build TypeScript incremental - don't mangle TypeScript twice in a full build To be able to utilize the `--incremental` feature of TypeScript, generated files are not removed anymore before a build, since TypeScript needs the previously compiled files for comparision. The `tsclean` grunt task has been renamed to `clear-build` and is now executed right before any *full* build. Side note: on the patch authors machine, the command `grunt scripts` went from ~30 seconds to ~8 seconds after second invokation. Resolves: #90187 Releases: master Change-Id: I2a6cc204aa059411b4d0b26e2e153ff944d190ad Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63019 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Richard Haeser <richard@maxserv.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Richard Haeser <richard@maxserv.com> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Please register or sign in to comment