I have fixed it by making toggleImagesCommand similar to openImportCommand. The issue is probably due to strict standards of optimise mode which doesn't allow using returned value as function unless it is actually function.
Using export instead of define is another inconsistency which is fixed
This is related to #57
I have fixed it by making
toggleImagesCommand
similar toopenImportCommand
. The issue is probably due to strict standards of optimise mode which doesn't allow using returned value as function unless it is actually function.Using
export
instead ofdefine
is another inconsistency which is fixed