electron-userland / electron-webpack

Scripts and configurations to compile Electron applications using webpack
https://webpack.electron.build/
903 stars 170 forks source link

where should i config the electron builder config #383

Open sanriqing opened 4 years ago

sanriqing commented 4 years ago

it seem to does not work if i config it on package.json . i set the following code in package.json

{
"file":["dist"]
}

the node_modules will still copy to asar file

NoahAndrews commented 4 years ago

@sanriqing Are you putting it like so?

"build": {
    "file":["dist"]
}