fix: set CBOR_NATIVE_ACCELERATION_DISABLED to true
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
@@ -58,7 +58,7 @@ function registerGlobal() {
|
||||
function nodeEnvInjection() {
|
||||
// # https://github.com/kriszyp/cbor-x/blob/master/node-index.js#L16 https://github.com/kriszyp/cbor-x/blob/master/node-index.js#L10
|
||||
// # ncc not support runtime require so disable ACCELERATION
|
||||
process.env['CBOR_NATIVE_ACCELERATION_DISABLED'] = '1'
|
||||
process.env['CBOR_NATIVE_ACCELERATION_DISABLED'] = 'true'
|
||||
}
|
||||
|
||||
export function register() {
|
||||
|
||||
Reference in New Issue
Block a user