@wordpress/scripts
A build system built for building custom WordPress blocks.
Introduction
Setup
Using Yarn Package Manager:
Package.json
{
"name": "some-block-name",
"main": "index.js",
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build"
}
}Running it
Resources
Last updated