Skip to content

Commit 8277fc3

Browse files
Andaristyowainwright
authored andcommitted
Wrapped every log in process.env.NODE_ENV check for better minificati… (dollarshaveclub#55)
* Wrapped every log in process.env.NODE_ENV check for better minification. Also restructured build configs in the process. * [bug] by Jeff => reads comma to package.json
1 parent 23654bc commit 8277fc3

11 files changed

+1194
-105
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can download the compiled javascript directly [here](/build/postmate.min.js)
3434
* Child emits events that the parent can listen to.
3535
* Parent can `call` functions within a `child`
3636
* *Zero* dependencies. Provide your own polyfill or abstraction for the `Promise` API if needed.
37-
* Lightweight, weighing in at ~ <span class="size">`4.8kb`</span>.
37+
* Lightweight, weighing in at ~ <span class="size">`1.5kb`</span> (minified & gzipped).
3838

3939
## Installing
4040
Postmate can be installed via NPM or Bower.

0 commit comments

Comments
 (0)