Ionic 4 with cordova-sqlite-ext

Hello, I have a project in Ionic 3 and I am using cordova-sqlite-ext to use the pre existing bank. Working well.
But I’m working on Ionic 4. And I’m having trouble because the www folder is always regenerated when the build is done and the database is not found.
Does anyone have a solution for using pre-populated banks using cordova-sqlite for Ionic 4?

I pay the work of those who solve this for me.