---
title: "Feature: #77589 - EXT: syntax in PageRenderer and Compressor"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-77589"
source: "Changelog/8.4/Feature-77589-EXTSyntaxInPageRendererAndCompressor.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Feature: #77589 - EXT: syntax in PageRenderer and Compressor

See [forge#77589](https://forge.typo3.org/issues/77589)

## Description

It is now possible to use the `EXT:` prefix for referencing files inside extensions within the `PageRenderer` and `ResourceCompressor`
PHP classes for adding JavaSyntax or StyleSheet files.

So you can streamline your code from

```php
$this->pageRenderer->addJsFile(ExtensionManagementUtility::extRelPath('core') . 'Resources/Public/JavaScript/Contrib/bootstrap/bootstrap.js');
```

to

```php
$this->pageRenderer->addJsFile('EXT:core/Resources/Public/JavaScript/Contrib/bootstrap/bootstrap.js');
```
