Plugin not loaded when installed via NPM
ph-x-net opened this issue · comments
ph-x-net commented
I tried to install the plugin via NPM and then call it with
window.plugins.insomnia.keepAwake()
but it doesn't work (seems that it can't find the plugin even though it's installed).
When I on the other hand install it via CLI everything works just fine.
What am I missing? Do I have to include/import the plugin anywhere else when installing it via NPM?