webpack: prevent TypeError if undefined stats (#490)
webpack: prevent TypeError if undefined stats (#490)

* prevent TypeError when stats is undefined

* display error

developit/preact-cli,developit/preact-cli