From 7f7f9156d345c564ba340775235ee319d0de86a1 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 14:56:27 +0100 Subject: [PATCH] chore(package): explicitly declare js module type (#274) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 69d9239..544f0c8 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "8.4.0", "description": "Fastify CORS", "main": "index.js", + "type": "commonjs", "types": "types/index.d.ts", "scripts": { "coverage": "tap --cov --coverage-report=html test",