Can I keep using Elixir/Gulp after migrating to Laravel 5.4?

Published 1 year ago by extrakun

A potentially dumb question here, however I couldn't find any answers to this online. Can I keep on using Elixir/Gulp after I migrate from Laravel 5.3 to 5.4?

Best Answer (As Selected By extrakun)
lorvent

yes, in package.json add elixir

npm install laravel-elixir --save

and remove mix from package.json

then remove webpack.mix.js and add your old gulpfile.js

quanghuy1294
extrakun

Thanks for the links; however I do not want to migrate to webpack as the project is already live and we just want to keep our build process.

So do I have to use Mix instead of Gulp if I want to migrate to 5.4?

lorvent
lorvent
1 year ago (14,235 XP)

yes, in package.json add elixir

npm install laravel-elixir --save

and remove mix from package.json

then remove webpack.mix.js and add your old gulpfile.js

JeffreyWay

Yes, you may freely use any tool that you want.

Please sign in or create an account to participate in this conversation.