For a plugin you don’t need any compilation, it’s simply a number files: JSON files for configuration and a node.js script (index.js) that is dynamically included at runtime to execute your node.js code. From there on you can then spawn whatever you like, so usually no (cross)compilation needed. More on plugin development can be found at the docs.