spfx-build-package

Installation
SKILL.md

SPFx Build & Package

Compiles TypeScript, bundles with Webpack, and packages the solution as a .sppkg file ready for deployment to a SharePoint app catalog.

When to Use

  • After scaffolding and writing component code
  • After making changes and needing to re-deploy
  • Any time you need a .sppkg file for upload to SharePoint

Prerequisites

  • Node.js v22 and npm installed
  • Dependencies installed: cd <project-dir> && npm install
  • SPFx project with config/package-solution.json present

Procedure

Installs
1
First Seen
Jun 21, 2026