Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

When getTimings is exposed from rollup output the info. #1685

Merged
merged 3 commits into from
Jan 1, 2021

Conversation

samccone
Copy link
Contributor

@samccone samccone commented Jan 1, 2021

getTimings is exposed from rollup when perf: true is set in the rollup
config rollup/rollup@6913e39 . Previously there was no way to get this information from a
customer's perspective when using sapper in development mode or when building via sapper build. This meant that if a customer wanted to understand why their build was slow they had not clear path forward.

With this change, setting perf: true in the rollup config will now display
this information to the command line when running sapper dev and sapper build

getTimings is exposed from rollup when `perf: true` is set in the rollup
config. Previously there was no way to get this information from a
customer's perspective.

With this change, setting perf: true in the rollup config  will now display
this information to the command line when running `sapper dev`
@benmccann benmccann merged commit 3003e98 into sveltejs:master Jan 1, 2021
@samccone samccone deleted the sjs/sapper-perf branch January 1, 2021 03:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants