package: package refactoring
This commit is contained in:
parent
1b2da1750a
commit
d0cc7f51aa
145 changed files with 175 additions and 847 deletions
23
scripts/build-main.js
Normal file
23
scripts/build-main.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
var build = require('./build')
|
||||
|
||||
build({
|
||||
input: '../src/main/index.js',
|
||||
output: '../app/main/open-stage-control-server.js',
|
||||
options: {
|
||||
commonDir: false,
|
||||
ignoreMissing: true,
|
||||
debug: true,
|
||||
builtins: false,
|
||||
commondir: false,
|
||||
insertGlobalVars: {
|
||||
__filename: true,
|
||||
__dirname: true,
|
||||
process: true,
|
||||
electron: true,
|
||||
global: true
|
||||
},
|
||||
browserField: false,
|
||||
},
|
||||
ignore: 'serialport',
|
||||
exclude: 'electron'
|
||||
})()
|
||||
Loading…
Add table
Add a link
Reference in a new issue