From 6a9a39164ff0d3079ed9497920580ba215e1cf5c Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 12:15:50 +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 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",