package: update electron, raise min node version to 10
This commit is contained in:
parent
8bacb38c2b
commit
b192eb244c
8 changed files with 12 additions and 25 deletions
|
|
@ -23,21 +23,5 @@ build({
|
|||
exclude: [
|
||||
'electron',
|
||||
'./fsevents.node' // osx binary module, to be copied as is
|
||||
],
|
||||
transforms: [
|
||||
[babelify, {
|
||||
'presets': [
|
||||
['@babel/env', {
|
||||
'targets': {
|
||||
'node': '6',
|
||||
},
|
||||
'useBuiltIns': 'usage',
|
||||
'corejs': 3
|
||||
}]
|
||||
],
|
||||
'plugins': ['@babel/plugin-proposal-object-rest-spread'],
|
||||
'global': true,
|
||||
'only': ['**/ws/', '**/yargs/', '**/find-up/', '**/locate-path', '**/p-locate']
|
||||
}]
|
||||
]
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue