diff --git a/apps/core/src/global/index.global.ts b/apps/core/src/global/index.global.ts index e2d8101f..33390068 100644 --- a/apps/core/src/global/index.global.ts +++ b/apps/core/src/global/index.global.ts @@ -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() {