@rikcon/laravel-rix
v7.3.1
Published
The power of Rspack, distilled for the rest of us.
Maintainers
Readme
Laravel Rix
Introduction
Laravel Rix provides a clean, fluent API for defining asset build steps for your applications, powered by Rspack. It supports the common CSS and JavaScript pre-processors out of the box and aims to be a fast, drop-in successor to the webpack-based Laravel Mix.
The power of Rspack, distilled for the rest of us.
Highlights
- Rspack 2.0 under the hood instead of webpack — significantly faster builds.
- oxc as an optional, near-instant replacement for Babel (
mix.oxc()). - LightningCSS for vendor prefixing and CSS minification.
- The familiar Mix fluent API —
mix.js(),mix.sass(),mix.vue(), etc.
Requirements
- Node.js >= 24
Installation
npm install --save-dev @rikcon/laravel-rixYour webpack.mix.js and the mix CLI command work as before — only the
import changes:
const mix = require('@rikcon/laravel-rix');
mix.js('resources/js/app.js', 'public/js')
.vue({ version: 2 })
.sass('resources/sass/app.scss', 'public/css')
.version();Documentation
This project is a fork of Laravel Mix; the original Laravel Mix documentation remains a useful reference for the shared fluent API. Rix-specific differences (Rspack, oxc, LightningCSS) are noted in this repository.
License
Laravel Rix is open-sourced software licensed under the MIT license. It is a fork of Laravel Mix by Jeffrey Way.
