Allow ImJoy plugins to be disabled

ImJoy is now loaded dynamically, and can be turned off with
an environment variable.
I've added two new scripts to develop and build without ImJoy.
I suspect these won't see much use, but
they will remind us how to do it when we
want to release a medical version.
The ImJoy "chunk" is named for ease of separation.

Co-authored-by: Kaspar Emanuel <kaspar@monostable.co.uk>
This commit is contained in:
Richard 2021-05-29 12:03:55 +01:00
parent f9f78b867c
commit d176654e96
4 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,5 @@
NODE_ENV=development
VUE_APP_MODE=development
VUE_APP_PLATFORM=web
VUE_APP_TARGET=web
VUE_APP_TARGET=web
VUE_APP_ENABLE_IMJOY=true