You can probably do it with Laravel Mix, but I have no idea how!
I do however have an alternative: https://github.com/publiux/laravelcdn
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I would like to upload my assets file to my S3 Bucket after running "npm run production".
How can I do that? I tried installing npm package like this one: https://github.com/webpack-contrib/s3-plugin-webpack
but I have no clue how to make it work with laravel mix.
Any help appreciated
Please or to participate in this conversation.