From 058744bb9476277aa0c5730782f16d57b21ee8cd Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sat, 28 Oct 2023 11:08:29 +0100 Subject: [PATCH] chore(package): explicitly declare js module type (#95) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9a71d0b..7b3f87c 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.10.1", "description": "Serve Swagger-ui for Fastify", "main": "index.js", + "type": "commonjs", "types": "types/index.d.ts", "scripts": { "coverage": "npm run unit -- --coverage-report=lcovonly",