File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ var os = require('os')
55// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'
66var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line
77
8+ var vars = ( process . config && process . config . variables ) || { }
89var prebuildsOnly = ! ! process . env . PREBUILDS_ONLY
910var abi = process . versions . modules // TODO: support old node where this is undef
1011var runtime = isElectron ( ) ? 'electron' : 'node'
1112var arch = os . arch ( )
1213var platform = os . platform ( )
1314var libc = process . env . LIBC || ( isAlpine ( platform ) ? 'musl' : 'glibc' )
14- var armv = process . env . ARM_VERSION || ( arch === 'arm64' ? '8' : process . config . variables . arm_version ) || ''
15+ var armv = process . env . ARM_VERSION || ( arch === 'arm64' ? '8' : vars . arm_version ) || ''
1516var uv = ( process . versions . uv || '' ) . split ( '.' ) [ 0 ]
1617
1718module . exports = load
You can’t perform that action at this time.
0 commit comments