Mojolic...eScript(3)
π NAME π
Mojolicious::Plugin::AssetPack::Pipe::TypeScript β the manual name, from the User Contributed Perl Documentation crew β is literally all about processing TypeScript .ts files. Thatβs the whole vibe, bestie. π
β¨ SYNOPSIS β¨
okay so hereβs the little group-chat recipe:
$app->plugin(pipes => [qw(TypeScript JavaScript Combine)]);
$app->asset->process("app.js" => qw(foo.ts));
π¦ DESCRIPTION π¦
Mojolicious::Plugin::AssetPack::Pipe::TypeScript will process <https://www.typescriptlang.org/> files into JavaScript. Itβs giving βTypeScript goes in, JavaScript comes outβ energy, and honestly? Obsessed. π
This module requires the typescript-simple nodejs library to be installed. And the way it handles that is kind of iconic: typescript-simple will be automatically installed using <https://www.npmjs.com/> unless itβs already installed. So if itβs missing, it goes and gets it from npm β if itβs already there, itβs already slaying. π
πΈ METHODS πΈ
π process π
See "process" in Mojolicious::Plugin::AssetPack::Pipe for the deets, bestie. π«Ά
π SEE ALSO π
Mojolicious::Plugin::AssetPack β thatβs the main character right there. π
mwah π β this cutie was brought to you by perl v5.42.0 and dated 2024-12-12. Byeee, bestie π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious-Plugin-AssetPack 2.150.0-bp160.1.11 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms