@smilo-platform/smilo-commons-js-web
Advanced tools
Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "@smilo-platform/smilo-commons-js-web", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Common set of Javascript functionality for the Smilo Platform.", | ||
@@ -5,0 +5,0 @@ "main": "smilo-web.js", |
@@ -15,2 +15,20 @@ # Smilo Commons JS for Web | ||
## A note about UglifyJS | ||
This library does not play nicely with the `typeofs` compress option of [UglifyJS](https://www.npmjs.com/package/uglify-js). | ||
When this compression option is enabled an error will be thrown when generating a Merkle Tree. | ||
If you are using UglifyJS either do not uglify/compress this library or disable this option. | ||
A minimal working configuration file for UglifyJS could look like this: | ||
``` | ||
{ | ||
"compress": { | ||
"typeofs": false | ||
} | ||
} | ||
``` | ||
## Examples | ||
@@ -17,0 +35,0 @@ |
5024283
481