@yao-pkg/pkg 5.11.4 → 5.11.5
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/dictionary/sqlite3.js
CHANGED
package/lib-es5/producer.js
CHANGED
|
@@ -133,6 +133,9 @@ function nativePrebuildInstall(target, nodeFile) {
|
|
|
133
133
|
// TODO: consider target node version and supported n-api version
|
|
134
134
|
options.push('--target', nodeVersion);
|
|
135
135
|
}
|
|
136
|
+
else {
|
|
137
|
+
options.push('--runtime', 'napi');
|
|
138
|
+
}
|
|
136
139
|
// run prebuild
|
|
137
140
|
(0, child_process_1.execFileSync)(prebuildInstall, options, { cwd: dir });
|
|
138
141
|
// move the prebuild to a new name with a platform/version extension
|