fill native modules - oracledb

This commit is contained in:
Jan Prochazka 2022-11-20 17:03:55 +01:00
parent 522170d5c3
commit a7a8ea053b

View File

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