Migration from Roots Sage 8.5.2 to 10

If you don’t want to include them in app.js I would probably just suggest enqueuing them with WordPress like any resource.

Although if you need to build those js files then you would want to put additional entry in the bud config. and then call bundle('component1')->enqueue() in the wp_enqueue_scripts hook

This post about having various themes might help, I don’t know where the bundle exists in the docs, if it is in sage or bud. Managing Different builds - #7 by cim