sqlite plugin scaffold

This commit is contained in:
Jan Prochazka
2021-04-25 18:49:53 +02:00
parent a8a9afc936
commit d1bf2dbc4b
18 changed files with 319 additions and 5 deletions

View File

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