sensiolabs/typescript-bundle

TypeScript support for Symfony + AssetMapper

v0.2.0 2024-09-17 12:41 UTC

README

Latest Version Total Downloads Monthly Downloads Software License CI

This bundle allows you to compile TypeScript and use it with Symfony's AssetMapper Component (no Node required!).

  • Automatically downloads the correct SWC binary
  • Adds a typescript:build command to compile your typescript files
  • Automatically compiles your typescript files when you run asset-map:compile command

Installation

composer require sensiolabs/typescript-bundle

Documentation

Read the documentation at: https://symfony.com/bundles/AssetMapperTypeScriptBundle/current/index.html

Credits

This bundle was greatly inspired by the Sass Bundle from SymfonyCasts.

License

MIT License (MIT): see the License File for more details.