
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
elixir-typescript
Advanced tools
(forked from laravel-elixir-typescript by MikeyAlder)
You have to install Laravel's Elixir(Version 3.0 or higher) and its dependencies first.
The signature was changed to the following:
mix.typescript(src, baseDir, output, options);
Install with Node.js
npm install elixir-typescript --save
A simple gulp-typescript wrapper ingredient for Laravel Elixir.
Add it to your Elixir-enhanced Gulpfile, like so:
var elixir = require('laravel-elixir');
// import the dependency
var elixirTypscript = require('elixir-typescript');
elixir(function(mix) {
mix.typescript('app.ts');
});
This will compile the app.ts
file in resources/assets/typescript/
and concat the compiled content into public/js/app.js
.
If you'd like to output to a different directory than the default public/js
, then you may override this by provide a path for output
as well.
mix.typescript('app.ts', null, 'public/js/foo/bar.js');
Further you could insert multiple files like
elixir(function(mix) {
mix.typescript(['module1.ts', 'module2.ts']);
});
The project file is also supported. Just put your file into the typescript asset folder and the pluging will automatically use it.
Bellow is the list of the available parameters:
public/js/
null
gulp-typescript
used for compiling. All options under https://github.com/ivogabe/gulp-typescript#optionsFAQs
Laravel Elixir TypeScript Compiler Extension
The npm package elixir-typescript receives a total of 14 weekly downloads. As such, elixir-typescript popularity was classified as not popular.
We found that elixir-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.