Currently there's a bug in MW 1.36.0 which breaks SMW JavaScript while minification: https://phabricator.wikimedia.org/T283244
A possible workaround might be, changing $wgResourceLoaderDebug = true;
in LocalSettings.php
. But I'm not sure if this is a good idea for production. So I will be patient until T283244 is fixed. :)