Electron build with local dependency

  • I need help building electron with a local dependency.
    I have a dependency in my package.json which I included with "xyz" : "file:./vendor/xyz" . It works fine in SPA and PWA.
    Only at Electron it complains, because the relative path doesn’t fit to the local folder anymore. How do I make Electron find the folder in the folder ./dist/electron/UnPackaged/?

    Thank you! 🙂

Log in to reply