Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
- SPFx version - 1.21.1
- Node.js version - 22.14.0
Describe the bug / error
We have developed an SPFx project that includes 15 web parts.
Please find the attached config.json and package.json files for additional details.
config.json
package.json
The project functions as expected; however, generating the package currently takes a significant amount of time—approximately 8–10 minutes.
The resulting package size is 21 MB.
Steps to reproduce
The following commands were executed during the package generation process:
- gulp clean
- gulp bundle --ship
- gulp package-solution --ship
Expected behavior
We would like to know if there is any way to optimize the package size and reduce the package creation time.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
We have developed an SPFx project that includes 15 web parts.
Please find the attached config.json and package.json files for additional details.
config.json
package.json
The project functions as expected; however, generating the package currently takes a significant amount of time—approximately 8–10 minutes.
The resulting package size is 21 MB.
Steps to reproduce
The following commands were executed during the package generation process:
Expected behavior
We would like to know if there is any way to optimize the package size and reduce the package creation time.