From 59b891e5cd387b38934b0af29706a2953671eac8 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 12:52:21 +0100 Subject: [PATCH] chore(package): explicitly declare js module type --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 437f54f..54469ea 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "5.2.2", "description": "Fastify PostgreSQL connection plugin", "main": "index.js", + "type": "commonjs", "types": "index.d.ts", "scripts": { "check-examples": "tsc --build examples/typescript/*",