Electron - Sqlite3 issue(How to make an exe file of ionic4 app with sqlite3 as database using electron)

While creating an exe file of an ionic app I found out that sqlite3 is not supportable to generate it. Since sqlite3 can only work with the phone(android/ios). How can I make it work for the desktop version as well?