Build preload script for production
This commit is contained in:
parent
b03f1a2dd3
commit
13d36ef60b
|
@ -11,7 +11,8 @@ const MinifyPlugin = require('babel-minify-webpack-plugin')
|
|||
|
||||
let mainConfig = {
|
||||
entry: {
|
||||
main: path.join(__dirname, '../src/main/index.ts')
|
||||
main: path.join(__dirname, '../src/main/index.ts'),
|
||||
preload: path.join(__dirname, '../src/main/preload.js')
|
||||
},
|
||||
externals: [...Object.keys(dependencies || {})],
|
||||
module: {
|
||||
|
|
Loading…
Reference in New Issue