Last active Jan 19, 2019

When using NPM Dependencies in Haxe, the referenced JS doesn't get automatically pulled into your Haxe-compiled JS file.
One way to include this JS is using webpack.
These dependencies will only be resolved by webpack if you use the @:jsRequire metadata.

Setting library=lime means that the 'lime' variable will be available outside the webpacked JS context (for use in the wrapper html), this will need to be tweaked based on what library you're using.

Setting target=electron-renderer means that require calls to node/electron services will remain unresolved (so that they can be resolved at runtime. This can be removed/tweaked based on where the App will be running.