sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFX Build time is too long. 🐌

Open nayots opened this issue 7 years ago • 3 comments

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

When you are serving a spfx project , with possibly multiple webparts and extensions, the build time should be close to the build time of "create-react-app".

Observed Behavior

It takes multiple minutes for the serve to build the solution and serve it with reload.

Steps to Reproduce

Create a solution with multiple webparts with react. Build it.

TLDR: build time is too long, and there is no hot reload.

nayots avatar Oct 21 '19 11:10 nayots

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Oct 21 '19 11:10 msft-github-bot

Respectfully, this isn't a question/bug or actionable... it's just venting. "It should be as fast as this unrelated project type" is arbitrary.

WRT build times, there have been some good blog posts on the subject, such as: https://spblog.net/post/2019/09/18/spfx-overclockers-or-how-to-significantly-improve-your-sharepoint-framework-build-performance

andrewconnell avatar Oct 21 '19 13:10 andrewconnell

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 23 '20 06:01 msft-github-bot