@neon-rs/cli 0.0.68 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +12 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10405,6 +10405,7 @@ module.exports = {
|
|
|
10405
10405
|
|
|
10406
10406
|
const { currentTarget } = __nccwpck_require__(1401);
|
|
10407
10407
|
|
|
10408
|
+
/*
|
|
10408
10409
|
function lazy(loaders, exports) {
|
|
10409
10410
|
let loaded = null;
|
|
10410
10411
|
|
|
@@ -10428,8 +10429,17 @@ function lazy(loaders, exports) {
|
|
|
10428
10429
|
|
|
10429
10430
|
return module;
|
|
10430
10431
|
}
|
|
10432
|
+
*/
|
|
10431
10433
|
|
|
10432
|
-
|
|
10434
|
+
function choose(loaders) {
|
|
10435
|
+
const target = currentTarget();
|
|
10436
|
+
if (!loaders.hasOwnProperty(target)) {
|
|
10437
|
+
throw new Error(`no precompiled module found for ${target}`);
|
|
10438
|
+
}
|
|
10439
|
+
return loaders[target]();
|
|
10440
|
+
}
|
|
10441
|
+
|
|
10442
|
+
module.exports = choose({
|
|
10433
10443
|
'darwin-x64': () => __nccwpck_require__(3659),
|
|
10434
10444
|
'win32-x64-msvc': () => __nccwpck_require__(4857),
|
|
10435
10445
|
'aarch64-pc-windows-msvc': () => __nccwpck_require__(4054),
|
|
@@ -10438,12 +10448,7 @@ module.exports = lazy({
|
|
|
10438
10448
|
'linux-x64-gnu': () => __nccwpck_require__(1300),
|
|
10439
10449
|
'linux-arm-gnueabihf': () => __nccwpck_require__(4766),
|
|
10440
10450
|
'android-arm-eabi': () => __nccwpck_require__(9441)
|
|
10441
|
-
}
|
|
10442
|
-
'fromFile',
|
|
10443
|
-
'fromStdin',
|
|
10444
|
-
'findArtifact',
|
|
10445
|
-
'findFileByCrateType'
|
|
10446
|
-
]);
|
|
10451
|
+
});
|
|
10447
10452
|
|
|
10448
10453
|
|
|
10449
10454
|
/***/ })
|