mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #404] JavaScript Compression Fails #335
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Master0ne on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/404
Originally assigned to: @jasonmunro on GitHub.
🐛 Bugreport
I have tried to apply JavaScript compression as per the
js_compressconfig option inhm3.inibut it fails with the following error:Using
yuicompressor:Using
uglifyjs:Version & Environment
Rev: master
OS: Debian
Steps to reproduce
yuicompressororuglifyjsbyjs_compress=inhm3.iniscripts/config_gen.php@jasonmunro commented on GitHub (Jun 10, 2020):
Sadly you now need to use an ES6 compatible compression tool so yuicompressor or uglifyjs won't work anymore. However uglifyjs.terser should work fine. I will update the sample ini with more accurate examples.
@Master0ne commented on GitHub (Jun 10, 2020):
Very well, I'll give
uglifyjs.tersera try then.@Master0ne commented on GitHub (Jun 11, 2020):
@jasonmunro I have now installed terser v4.7.0
Can you please let me know which command line parameters to pass in
hm3.ini?@jasonmunro commented on GitHub (Jun 11, 2020):
I have the following:
js_compress='uglifyjs.terser -c -m --verbose --warn'@jasonmunro commented on GitHub (Jun 25, 2020):
Sample ini file updated with a current example so I'm closing this. Thanks for the feedback!