pressbooks / pressbooks-build-tools

NPM package which includes all asset linting and build tools for Pressbooks projects.
GNU General Public License v3.0
2 stars 1 forks source link

[Research] Replace Mix with Vite as build tool #313

Open SteelWagstaff opened 1 year ago

SteelWagstaff commented 1 year ago

The dev team has used Vite instead of Mix/Pressbooks Build Tools for the last two plugins they've created. We replace should update Pressbooks Build Tools to use Vite and use it consistently across all our maintained repos.

DoD:

Resources

https://github.com/laravel/vite-plugin/blob/main/UPGRADE.md#migrating-from-laravel-mix-to-vite https://christoph-rumpel.com/2022/6/moving-a-laravel-webpack-project-to-vite https://creagia.com/blog/using-laravel-vite-with-bootstrap-and-sass

greatislander commented 1 year ago

Might be worth considering Vite.js as well— it's now the standard tool for Laravel.

SteelWagstaff commented 1 year ago

Thanks Ned — Os and Dalcin used Vite for build process in our new network catalog plugin and I think would be interested in considering it for build processes elsewhere as well. We’ll be discussing options in our next product meeting.

SteelWagstaff commented 9 months ago

We're also using Vite in the new pressbooks-multi-institution plugin.