moodle/backup
Andrew Nicols 0a4047ab31 MDL-73915 js: Switch amd minification to terser
Unfortunately the babel minify-mangle plugin seems to be abandoned and
in certain circumstances can be very buggy. The only safe options are to
disable it, or to switch to a different minification library.

Not minifying our javascript is not ideal, so this commit updates the
javascript tasks to use a rollup, combined with babel, and terser.

Babel still converts code from ES/UMD/AMD to AMD modules with the
relevant browser support, whilst terser minifies the code.

The rollup bundler handles tracking and creation of sourcemaps, and
supports better parallelisation of the tasks.

Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
and eslint, which change the built files anyway, this seems like the
ideal time to make this change.
2022-02-23 08:55:09 +08:00
..
cc MDL-72115 course: Rename Miscellaneous category 2021-09-13 08:36:17 +02:00
controller MDL-72265 backup: fix checking of override capabilites on restore 2021-08-05 13:54:59 +01:00
converter MDL-72115 course: Rename Miscellaneous category 2021-09-13 08:36:17 +02:00
moodle2 MDL-71696 core_question: Implement question status change 2022-02-03 22:22:50 +11:00
tests MDL-71696 mod_quiz: quiz updates and behat coverage 2022-02-03 22:22:44 +11:00
util MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
backup.class.php MDL-69475 versions: bump all versions and requires in master 2020-08-17 00:11:41 +02:00
backup.php MDL-71949 backup: Fix userid and add backup ID to logging 2022-01-06 16:06:53 +10:00
backupfilesedit.php MDL-35429 backup: Only show relevant actions for automated backups 2017-10-10 12:30:57 +08:00
backupfilesedit_form.php MDL-58220 repo: Fix typo in FILE_CONTRLLED_LINK 2017-04-04 10:40:01 +08:00
copy.php MDL-64843 Backup: Course copy user interface 2020-05-15 06:02:02 +00:00
copyprogress.php MDL-64843 Backup: Course copy user interface 2020-05-15 06:02:02 +00:00
externallib.php MDL-64843 Backup: Course copy user interface 2020-05-15 06:02:02 +00:00
import.php MDL-41958 import: Constistently showing progress steps. 2019-11-30 10:07:56 +01:00
log.php MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
restore.php MDL-71949 backup: Fix userid and add backup ID to logging 2022-01-06 16:06:53 +10:00
restorefile.php MDL-72413 core: Disable the default activity header 2021-12-13 09:49:35 +08:00
restorefile_form.php MDL-50344 restore: Make restore file required 2015-05-25 12:02:16 +05:30
upgrade.txt MDL-72762 backup: Accept empty and whitespace-only UI labels. 2022-02-11 23:50:34 +01:00