You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
thanks @ddemid - I have deprecated v0.3.1 and v0.3.2 with the message Please upgrade to v0.3.3+ as this version is broken, see https://github.com/niftylettuce/express-cdn/issues/120, and published v0.3.3
please npm install express-cdn@latest or yarn add express-cdn@latest.
It silently fails to minify the js and uploads empty file to s3.
Since 0.31 you've upgraded to uglifyjs 3.X in package.json, which is being incorrectly used.
var final_code = uglify.minify(results, { fromString: true, output: { comments: /license/ } }).code;
gives undefined as a result. And since you aren't checking the error property, it fails silently.
The real error message is:
The text was updated successfully, but these errors were encountered: