politie / sherlock

A reactive programming library for JavaScript applications, built with TypeScript.
Apache License 2.0
39 stars 12 forks source link

Improve bundle size sanity check to look at minified code #70

Closed njirem closed 6 years ago

njirem commented 6 years ago

Currently we look at the concatenated source code of the bundle to check for unexpectedly bloated bundles. This means that our check fails when we add documentation which is not what we want.

We would like to check the minified bundle size to really check whether additional "real code" was added to the bundle. It is just a sanity check (because of an earlier regression), so it does not need to be super fancy.