try to solve binary dependencies

This commit is contained in:
Jan Prochazka
2021-12-25 12:42:32 +01:00
parent 568e60c52e
commit 1f00d06588
6 changed files with 146 additions and 75 deletions

View File

@@ -5,7 +5,7 @@ let fillContent = '';
if (process.platform == 'win32') {
fillContent += `content.msnodesqlv8 = () => require('msnodesqlv8');`;
}
fillContent += `content['better-sqlite3-with-prebuilds'] = () => require('better-sqlite3-with-prebuilds');`;
fillContent += `content['better-sqlite3'] = () => require('better-sqlite3');`;
const getContent = (empty) => `
// this file is generated automatically by script fillNativeModules.js, do not edit it manually