moodle/report/progress
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
..
amd MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
classes MDL-73772 reports: Fix Activity completion report with no group select 2022-02-09 13:18:01 +01:00
db MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
lang/en MDL-48594 Report: More filtering options on Activity Completion Report 2021-04-16 10:22:16 +07:00
tests MDL-73310 course: Add course index to all non-site course pages 2022-02-02 09:22:42 +01:00
index.php MDL-73772 reports: Fix Activity completion report with no group select 2022-02-09 13:18:01 +01:00
lib.php MDL-39536 completion: Prevent DB call when fetching activities 2013-06-04 12:57:10 +08:00
styles.css MDL-37361 completion: minor code fixes. 2017-10-10 17:12:09 +08:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00