How do I make it so that wp-scripts builds on plugin activation
You don’t, wp-scripts is a build step meant to run on a developers local machine or in a server build script such as a github action or CI/Continuous integration. It’s not meant to run on a live server. It requires Node JS and NPM as well as other dependencies. It’s similar to running webpack or … Read more