moodle/badges
Andrew Nicols 2528569425 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-22 14:16:08 +08:00
..
amd MDL-73915 js: Switch amd minification to terser 2022-02-22 14:16:08 +08:00
classes MDL-71119 core_badges: Add more information to errors 2021-04-14 11:04:06 +02:00
criteria MDL-69102 badge: Fixes broken WHERE clause 2021-04-01 14:51:21 -04:00
lib MDL-49103 badges: bake badges with iTXt chunk instead of tEXt 2020-02-04 18:49:39 +01:00
templates MDL-69054 core_badges: allow editing OBv1.0 backpacks 2020-08-20 07:31:48 +08:00
tests Merge branch 'MDL-73021-310' of git://github.com/andelacruz/moodle into MOODLE_310_STABLE 2022-01-21 11:18:28 +08:00
action.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
ajax.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
alignment.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
alignment_action.php MDL-72367 badges: require sesskey to remove badge alignment. 2022-01-11 14:34:16 +01:00
alignment_form.php MDL-63876 badges: Remove invalid table from badges 2019-03-29 11:30:09 +08:00
assertion.php MDL-70963 core_badges: Use expected JSON format for OBv2.1 2021-03-26 09:02:18 +01:00
award.php MDL-62836 badges: Potential badge recipients by group 2019-07-12 18:13:37 +02:00
backpack-add.php MDL-70073 badges: Fix the backpack-add to match current master 2020-11-01 22:33:28 +08:00
backpack-connect.php MDL-71119 core_badges: Initialise scopes param in backpack-connect.php 2021-04-14 11:01:27 +02:00
backpack-export.php MDL-65959 badge: Enable OB2.1 *connection* with cross domain ability 2020-10-26 18:36:26 +08:00
backpack.js MDL-63262 badges: More changes for badgr.io 2019-05-03 15:00:01 +08:00
backpackemailverify.php MDL-65959 badges: Do not use badge user preference after verification 2020-10-26 18:36:26 +08:00
backpacks.php MDL-65959 badge: Reset external_identifiers if backpack details modified 2020-10-26 18:36:26 +08:00
badge.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
badge_json.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
criteria.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
criteria_action.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
criteria_form.php MDL-63876 badges: Coding style 2019-03-29 11:31:15 +08:00
criteria_settings.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
edit.php MDL-68905 core_badges: remove issuer details from edit page 2020-06-03 19:38:09 +02:00
endorsement.php MDL-63991 badges: Translate notification on endorsement 2018-11-13 15:58:47 +01:00
endorsement_form.php MDL-64010 badges: Validate URL form fields. 2018-11-16 10:28:09 +08:00
endorsement_json.php MDL-58454 badges: Open Badges Specification Version 2.0 Changes 2018-11-05 14:20:46 +01:00
external.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
image_author_json.php MDL-58454 badges: Open Badges Specification Version 2.0 Changes 2018-11-05 14:20:46 +01:00
index.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
issuer_json.php MDL-66357 core_badges: remove action=0 usage for issuer 2020-04-03 08:09:55 +02:00
lib.php MDL-53589 badges: fix capability check 2016-05-06 09:27:24 +08:00
mybackpack.php MDL-65959 badges: Allow cross domain/protocol functionality - obv2 2020-10-26 18:36:26 +08:00
mybadges.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
newbadge.php MDL-68746 core_badges: remove Issuer details from badges form 2020-05-20 08:51:52 +02:00
overview.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
preferences.php MDL-58010 user: allow to update only whitelisted user preferences 2017-03-10 18:04:47 +00:00
preferences_form.php MDL-39063 badges: Improve external backpack usability and workflow 2013-04-16 10:47:40 +12:00
recipients.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
related.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00
related_action.php MDL-72370 badges: require sesskey to remove related badge. 2021-11-02 18:04:16 +01:00
related_form.php MDL-63973 core_badges: exclude related badges when adding related badges 2018-11-19 11:19:12 +08:00
renderer.php MDL-72367 badges: require sesskey to remove badge alignment. 2022-01-11 14:34:16 +01:00
upgrade.txt MDL-65959 core_badges: Allow ability to upload badges cross domain. 2020-10-26 18:35:36 +08:00
upgradelib.php MDL-66357 core_badges: remove mozilla backpack references 2020-04-03 08:09:55 +02:00
view.php MDL-63262 badges: Add badgr.io 2019-05-03 15:00:00 +08:00