mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-17 03:06:52 +01:00
Merge pull request #1172 from h3poteto/fix/preload
Build preload script for production
This commit is contained in:
commit
bfeb957122
@ -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
Block a user