pvledoux
36
3
Mix

How to manage, build and deploy frontend assets and js in Laravel packages

Posted 4 months ago by pvledoux

Hi guys,

I have multiple packages to build for a big application we are working on and I'm wondering how I will deal with frontend dependancies (js packages, images/fonts, sass).

Currently I have package.json in my root package folder with all dependencies for that package, and I have postinstall script in my main package.json to scan all subfolders of the packagesfolder to run npm install when necessary.

But how I do I build/deploy those assets?

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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.