moodle/blocks/online_users
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-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
db MDL-59293 block_onlineusers: Check whether current user can view online users 2021-03-02 15:51:31 +00:00
lang/en MDL-71425 lang: Import fixed English strings (en_fix) 2021-05-04 14:51:44 +02:00
tests MDL-73485 phpunit: externallib, generator and filter tescase names 2022-01-21 19:48:23 +01:00
block_online_users.php MDL-72806 block_online_users: align picture/name of listed users. 2021-10-15 18:27:22 +01:00
lib.php MDL-6074 blocks: Hide user in online users block 2018-06-13 09:02:24 +08:00
settings.php MDL-64745 block_online_users: Option to disable users to set visibility 2019-10-07 09:00:33 +08:00
styles.css MDL-72806 block_online_users: align picture/name of listed users. 2021-10-15 18:27:22 +01:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00