Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 575 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 575 Bytes

WP Scripts Demo Plugin

This is an exploration of how we can use the @wordpress/wp-scripts package when building blocks.

Setup: npm install

Use:

  • npm start to start a dev environment that watches JS changes and rebuilds.
  • npm run build to build JS files into build/index.js.
  • npm run lint:js to lint JS files in src/.
  • npm run lint:css to lint CSS files in src/.

See: