Ollie Block Academy

Creating a Block Plugin From Scratch

Creating a production build

Production builds optimize code for performance rather than debugging. Run “npm run build” to create minified, optimized versions significantly smaller than development builds.

Development builds prioritize debugging information and file watching, while production builds focus on minimal file sizes and optimal browser performance for end users.

Always use npm run start during development for maximum debugging capability, but switch to npm run build when deploying to production servers or distributing plugins.

Back to: Ollie Block Academy > Creating a Block Plugin From Scratch