From ca4c74ff4e4a33e6c421b5a421267122ba61b847 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 14:56:25 +0100 Subject: [PATCH] chore(package): explicitly declare js module type (#258) --- 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",