Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks
SteelWagstaff opened this issue Mar 11, 2023 · 3 comments
Open
3 tasks

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

SteelWagstaff opened this issue Mar 11, 2023 · 3 comments
Assignees

Comments

@SteelWagstaff
Copy link
Member

SteelWagstaff commented Mar 11, 2023

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:

  • Research the use of Vite for build processes across all Pressbooks repo
  • Write a brief report/recommendation for team to agree on
  • Prepare Pressbooks Build Tools 5.0.0 release that uses the recommended approach

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

@SteelWagstaff SteelWagstaff changed the title Replace Mix with bud to build assets Replace Mix with Bud.js as build tool Mar 11, 2023
@greatislander
Copy link
Contributor

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

@SteelWagstaff
Copy link
Member Author

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 SteelWagstaff changed the title Replace Mix with Bud.js as build tool Replace Mix with Vite or Bud.js as build tool Mar 16, 2023
@SteelWagstaff SteelWagstaff changed the title Replace Mix with Vite or Bud.js as build tool [Research] Replace Mix with Vite or Bud.js as build tool Mar 16, 2023
@SteelWagstaff
Copy link
Member Author

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

@SteelWagstaff SteelWagstaff changed the title [Research] Replace Mix with Vite or Bud.js as build tool [Research] Replace Mix with Vite as build tool Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants