feat: support node10
This commit is contained in:
parent
c05ab719b3
commit
894c7c962a
5 changed files with 6 additions and 8 deletions
scripts
|
@ -29,7 +29,7 @@ const nodeIncludePath = path.join(
|
|||
|
||||
const moduleName = path.basename(process.cwd()).replace('-', '_')
|
||||
process.env.NODE_INCLUDE_PATH = nodeIncludePath
|
||||
process.env.NODE_MAJOR_VERSION = nodeMajorVersion
|
||||
process.env.NODE_MAJOR_VERSION = nodeMajorVersion > 8 ? 'stable' : 8
|
||||
|
||||
const platform = os.platform()
|
||||
let libExt, platformArgs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue