Implement buffer
This commit is contained in:
parent
211ce1e523
commit
7bae4cbb4a
6 changed files with 208 additions and 84 deletions
scripts
|
@ -27,7 +27,7 @@ const nodeIncludePath = path.join(
|
|||
'node',
|
||||
)
|
||||
|
||||
const moduleName = path.basename(process.cwd()).replace('-', '_')
|
||||
const moduleName = path.basename(process.cwd()).replace(/-/g, '_')
|
||||
process.env.NODE_INCLUDE_PATH = nodeIncludePath
|
||||
process.env.NODE_MAJOR_VERSION = nodeMajorVersion > 8 ? 'stable' : 8
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue