-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minification failure #585
Comments
Update: it's only needed to remove |
The production server now uses |
I would commit the same change to master. The difference in weight of the minified JS is not big with/without |
Disable `-c` parameter in UglifyJS to prevent the error. This increases the output size a bit, but only slightly (from ~700 KB to ~800 in tasks page). Also write down the minimum UglifyJS version number known to prevent problems with the most modern JS syntax features.
Disable `-c` parameter in UglifyJS to prevent the error. This increases the output size a bit, but only slightly (from ~700 KB to ~800 in tasks page). Also write down the minimum UglifyJS version number known to prevent problems with the most modern JS syntax features.
Reviewed in PR#587:
|
When running the minification process on my development box, I'm getting an error in the tasks page:
Uncaught TypeError: this.monthPicker is null
. The error is located in the datepickerplus component.I think it must be related with software versions. My software:
We have to be aware of this reproducing in production servers, it currently doesn't. They use uglify-js 3.12.8.
As a workaround, removing the
-c -m
flags fixes the problem. This change produces slightly heavier JS files (from ~700 KB to ~900 in tasks page).The text was updated successfully, but these errors were encountered: