package: exclude osx fsevents native module from bundle, copy file as is
This commit is contained in:
parent
447b2544e4
commit
625e2fc5df
3 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
"homepage": "http://openstagecontrol.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "7.12.7",
|
||||
"@babel/core": "7.12.8",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
|
||||
"@babel/polyfill": "7.12.1",
|
||||
"@babel/preset-env": "7.12.7",
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ build({
|
|||
browserField: false,
|
||||
},
|
||||
ignore: 'serialport',
|
||||
exclude: 'electron',
|
||||
exclude: ['electron', './fsevents.node'], // osx binary module, to be copied as is
|
||||
transforms: [
|
||||
[babelify, {
|
||||
'presets': [
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ var cpr = require('cpr'),
|
|||
['../src/python/', '../app/server/python/'],
|
||||
['../resources/fonts/', '../app/assets/fonts/'],
|
||||
['../src/html/launcher.html', '../app/launcher/index.html'],
|
||||
['../node_modules/fsevents/fsevents.node', '../app/server/fsevents.node'],
|
||||
]
|
||||
|
||||
for (var i in files) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue