From 082c26d559f210af7c55c31a826fe4821a429700 Mon Sep 17 00:00:00 2001 From: Dan Onoshko Date: Tue, 10 Jan 2023 01:52:26 +0400 Subject: [PATCH] feat: restore compatability with webpack 4 (#1146) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f5499c27..4f60d421 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,8 @@ "types": "./dist/index.d.ts", "exports": "./src/index.ts", "publishConfig": { + "main": "./dist/index.cjs", + "module": "./dist/index.js", "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.js",