1. Home
  2. Docs
  3. Pinblocks plugin documentation
  4. Building

Building

Pinblocks plugin created with Create Guten Block tool.

Use next commands in plugin’s root folder if you want to add any changes to javascript part.

npm start

Use to compile and run the block in development mode. Watches for any changes and reports back any errors in your code.

npm run build

Use to build production code for your block inside dist folder. Runs once and reports back the gzip file sizes of the produced code.



Was this article helpful to you? Yes No

How can we help?