From 9c414e8990eb4a29961c5f21654da82b597babc4 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Fri, 9 Aug 2024 16:53:42 +0100 Subject: [PATCH] Fix pg-protocol types by forcing tsc to bundle pg-protocol (#158) --- packages/pglite/tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/pglite/tsconfig.json b/packages/pglite/tsconfig.json index baf46c13..74de4d0d 100644 --- a/packages/pglite/tsconfig.json +++ b/packages/pglite/tsconfig.json @@ -5,6 +5,10 @@ "@types/emscripten", "node" ], + "paths": { + "pg-protocol/*": ["./node_modules/pg-protocol/*"], + "node:buffer": ["./src/polyfills/buffer"] + } }, "include": ["src"] }