How to create a SharePoint SPFX package ?

Anonymous
2023-06-06T06:08:50.4333333+00:00

How to create a SharePoint SPFX package ?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,556 Reputation points Microsoft External Staff
    2023-06-06T07:27:31.05+00:00

    Hi @Anonymous

    To create a SharePoint SPFx (SharePoint Framework) package, you will need to package the Solution. Once you are satisfied with the development and testing, you can package the solution for deployment to SharePoint. Please run the following command to create a production-ready package:

    gulp bundle --ship
    gulp package-solution --ship
    

    Here is the document for more details

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/serve-your-web-part-in-a-sharepoint-page


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.