Colin Atkins

July 12, 2025

🛠️ TYPO3 Importmap Extension – Release 0.1.5

Release Date: July 12, 2025
Compatible TYPO3 Version: 13.x
Extension Version: 0.1.5
Link: https://extensions.typo3.org/extension/importmap


✨ New Feature

This release introduces a highly requested feature:

  • Importmap configuration via settings.yaml:
    Developers can now define their ES6 module import maps directly within the config/settings.yaml file of their TYPO3 v13 installation. This brings improved developer experience and better integration with TYPO3’s native configuration stack.


🧩 Example Usage

page:
 importmap:
     modules/stimulusjs:
         path: EXT:your_extension/Resources/Public/JavaScript/stimulus.js
         preload: 1
         override: stimulus
     controllers/header_controller:
         path: EXT:your_extension/Resources/Public/JavaScript/controllers/header_controller.js
         preload: 1

This YAML definition will be used to generate the <script type="importmap"> tag on the frontend.


✅ Benefits

  • Centralized configuration using TYPO3's modern settings.yaml
  • Improved maintainability of JavaScript module mappings
  • Seamless integration with TYPO3 v13's configuration lifecycle


🔧 Installation & Update

Run the following command in your TYPO3 root directory:

composer require atkins/importmap

Make sure to flush caches after updating:

php vendor/bin/typo3 cache:flush