Copy link to clipboard
Copied
Hi there,
The reason I am asking is, that if I do leave it there, the extension loads and runs very slowly when deployed from the ZXP on a non debug machine. It takes forever for every screen to load. Also, if I just do ZXPSignCmd.exe -verify it takes forever (on the original machine), so I assume that the verification is the issue here.
If I leave it out, the extension tries to load very fast, but, fails as it is missing the modules.
If I copy the modules manually, the log shows that it fails to validate the extension...
So I am kind of stuck, I suspect I am doing something wrong here.
Thanks for your help!
Copy link to clipboard
Copied
What is total number of files in your extension?
Copy link to clipboard
Copied
Hi Jerda,
I am adding 12 npm packages, which end up adding their dependencies... so total sub directories under node_modules are 78, total number of files: 2,355.
It seems that every time I open the extension, post installation, there is some verification done.
Thanks!
Guy
Copy link to clipboard
Copied
You will have to sign the whole bundle along with the node modules. Unless you do that the verification process would fail and the plugin will not load. In my opinion signing the node modules should not be an issue, as they are free source packages with no restriction on use. Regarding the time taken you will have to reduce the size of the whole bundle as much as you can, i have not been able to find anyway around it.
-Manan