Command
npm run buildExplanation
Builds the project for production with optimizations like minification and tree-shaking.
Examples
Build for production
npm run buildBuild for staging environment
npm run build -- --mode stagingBuild to custom output directory
npm run build -- --outDir dist