sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
7k stars 434 forks source link

when onwarn is invoked timing information is not printed #1684

Open samccone opened 3 years ago

samccone commented 3 years ago

Describe the bug When onwarn is invoked inside of the client or server rollup.config the build performance / duration time is not emitted to the console.

By converting

onwarn = (warning, onwarn) => {
//logic 

to

onwarn = () ={}

The timing information came back