From 3093cbddca79aaab4ea1dfb83edaaa65be12ff50 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Thu, 20 Jan 2022 14:50:25 -0800 Subject: [PATCH] package.json: use file extensions for esmodules compatibility --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 09bdd66..7834c48 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "bin": { "crc32": "./bin/crc32.njs" }, - "main": "./crc32", - "types": "types", + "main": "./crc32.js", + "types": "./types/index.d.ts", "dependencies": { "printj": "~1.1.0", "exit-on-epipe": "~1.0.1"