Merge pull request #1172 from h3poteto/fix/preload

Build preload script for production
This commit is contained in:
AkiraFukushima 2019-12-19 00:29:16 +09:00 committed by GitHub
commit bfeb957122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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: {