Underpin is REALLY close to making it possible to scaffold just about anything inside WordPress using CLI commands. Something like:
composer underpin/scaffold script (args)
Would autogenerate the script loader automatically.
This guide will walk you through how to set up Underpin so you can use it on your own site.
Alex Standiford
I get a little ranty about Webpack in this post, but at least I offer a WordPress-specific solution.
Learn how to set up a WordPress Webpack configuration that allows you to write modern Javascript in your WordPress plugin.
Join 300+ founders learning to build their business together. Short, useful emails on partner-led growth and sane operations.
3d Printing (24) Affiliate Program (22) ai (91) Blogging (23) brewery (21) Business (26) cast iron (36) Charlie (19) craftbeer (78) css (23) design (30) Disc Golf (64) Entrepreneurship (26) family (25) goodmorning (21) html (18) javascript (21) kiting (39) Leela (19) Maria (44) marketing (35) music (46) North Carolina (32) outdoor cooking (30) outer banks (34) photo (20) php (34) Project Cornhole Board (18) Project Media Center (18) Project Novatorius (68) Project PartnerShip (19) Project PHPNomad (30) Project Siren (144) Project Standiford Blog (49) retail (28) Ricardo (22) Ricardo Wrecked (18) RV Life (236) travel (116) Underpin (20) Vermont (20) WCUS (69) WCUS2024 (32) WooCommerce (21) WordPress (446)
Join 300+ founders learning to build their business together. Short, useful emails on partner-led growth and sane operations.