Neo4j-driver TS driver not working with Stencil

So, I have no idea if this is the right forum, but anyways.
I tried to get TS neo4j-driver (neo4j-driver - npm) to work with Stencil. However, in order to do so, I have to patch

var buffer_1 = __importDefault(require("buffer"));

to

var buffer_1 = __importDefault(require("buffer/"));

(notice the trailing slash) in every occurence to get it working. This of course breaks updates.
So, any ideas why this is happening?

Thanks
Tom

Hey @tom, welcome to the community! Can you share a repository that replicates this issue, please? I'm not familiar with Stencil