try to fix sqlite problem

This commit is contained in:
Jan Prochazka
2021-05-13 08:41:45 +02:00
parent 63ad36f758
commit 23225cf86b
6 changed files with 113 additions and 9 deletions

View File

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