package: package refactoring

This commit is contained in:
bordun 2018-10-28 14:09:16 +01:00
parent 92f7f1dba8
commit fb768e12ef
145 changed files with 175 additions and 847 deletions

23
scripts/build-main.js Normal file
View 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'
})()