getTimings is exposed from rollup when perf: true is set in the rollup
config https://github.com/rollup/rollup/pull/2065/commits/6913e396544a8976cf18dd3392dccf4a2c5b697c . 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 whenperf: true
is set in the rollup config https://github.com/rollup/rollup/pull/2065/commits/6913e396544a8976cf18dd3392dccf4a2c5b697c . Previously there was no way to get this information from a customer's perspective when using sapper in development mode or when building viasapper 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 runningsapper dev
andsapper build