moodle/mod/quiz/accessrule
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
..
delaybetweenattempts MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
ipaddress MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
numattempts MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
offlineattempts MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
openclosedate MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
password MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
seb MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
securewindow Merge branch 'MDL-73716' of https://github.com/stronk7/moodle 2022-02-08 10:59:34 +08:00
timelimit MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
accessrulebase.php MDL-65207 core: replace typos by actually 2019-04-01 08:49:18 +08:00
upgrade.txt MDL-44449 quiz access rules should have a delete hook. 2014-05-19 16:59:04 +01:00