-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
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
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
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.
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.
Metadata
Metadata
Assignees
Labels
type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.