From 16b96145648cea01630d7ee64cbd479409d8177f Mon Sep 17 00:00:00 2001 From: joe k Date: Mon, 8 Aug 2022 14:43:07 -0400 Subject: [PATCH] adding additional export to support cjs --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7b5c44d..80a6e63 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@tatatap-com/sowhat", "description": "Anything goes, organizational and utility function notation parser.", - "version": "2.1.1", + "version": "2.1.2", "license": "MIT", "type": "module", "engines": { @@ -21,7 +21,11 @@ "rollup": "^2.75.7", "rollup-plugin-terser": "^7.0.2" }, - "exports": "./dist/sowhat.js", + "exports": { + ".": "./dist/sowhat.js", + "./cjs": "./dist/sowhat.cjs" + + }, "directories": { "test": "test" },