-
Is there a way to have the electron-builder to copy all of my modules instead of having to add them in manually to external? I am currently forking a .js file named mls.js inside that file im requiring certain modules. So i am assuming because my main process does not reference these modules they are not being copied/bundled into the app.asar. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's no way to add all dependencies as externals, as you'd always want some non-externals (ie vue). You just have to list them all in externals. However, V3 alpha of this plugin includes a much better native dependency detector which should make it unnecessary to list your native deps in externals. |
Beta Was this translation helpful? Give feedback.
There's no way to add all dependencies as externals, as you'd always want some non-externals (ie vue). You just have to list them all in externals. However, V3 alpha of this plugin includes a much better native dependency detector which should make it unnecessary to list your native deps in externals.