kaiopiola/bringbackmix

This package is abandoned and no longer maintained. The author suggests using the https://www.kaiopiola.dev/2022/08/laravel-vite.html package instead.

Brings back Webpack Mixer to newer Laravel versions!

1.1.0 2022-08-18 19:46 UTC

This package is auto-updated.

Last update: 2022-08-27 14:45:21 UTC


README

⚠️PACKAGE ABANDONED!⚠️

Instead of using it, please read the following tutorial for how to getting ready for using the new Laravel VITE:

Laravel Vite Initial Settings

68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61696f70696f6c612f6272696e676261636b6d69783f636f6c6f723d2532333030464646 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61696f70696f6c612f6272696e676261636b6d69783f636f6c6f723d253233383838383838266c6162656c3d76657273696f6e 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b61696f70696f6c612f6272696e676261636b6d6978

This package is under development and may exhibit unexpected behavior while using it, please report any bugs or errors you find when using this solution, so that we can make it the best possible for your use!

The BringBackMix package is a solution for those who don't want to use Vite on their projects with newer Laravel versions. So, I made a script for bringing the Webpack Mixer back and working on new projects!

Advice

Avoid to use this solution on existing projects, this is not a Vite to Webpack converter and I can't assure it'll work as expected! Use it only on new projects.

I recommend to start your favorite terminal as an administrator before running this.

Installation

Create a new Laravel project. Them, run the following commands to install Composer and NPM dependencies:

composer install
npm install

So, install our package with the following command:

composer require kaiopiola/bringbackmix

How to Use

Once everything is installed, you can run the following command and it will automatically set your project to the old Laravel Webpack standard:

php vendor/kaiopiola/bringbackmix/run.php

Considerations

This project is open to contributions, whether with suggestions or improvements to the code of any kind. Feel free to participate in its development.

License

MIT License (MIT). Please, read the License File for more informations.