From a01b96480fa0007d6ebba7be6a2f128cc841a8ac Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 12:15:55 +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 1cec93e..875f9ac 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "9.1.0", "description": "Plugin for fastify to add support for cookies", "main": "plugin.js", + "type": "commonjs", "types": "types/plugin.d.ts", "scripts": { "coverage": "npm run test:unit -- --coverage-report=html",