Home > Mobile >  How do I set up a build environment for JS for my Wordpress site using @wordpress/scripts and NPM?
How do I set up a build environment for JS for my Wordpress site using @wordpress/scripts and NPM?

Time:05-30

I'm relatively new to Wordpress development, and I'm trying to make us of a package called @wordpress/scripts which will allow me to automate the build of JS and SCSS/CSS.

The information about this package is enter image description here

CodePudding user response:

I personally can recommend "Roots Bud" - it has everything you need included, and needs only little tweaking. It is made for Wordpress specifically.

https://roots.io/bud/

Alternatively you could also use "Roots Sage 10" theme starter, which already has the build proccess included. However it is quite advanced in general, so a good knowledge of how Wordpress works is recommended.

  • Related