From 0ee705c7727434a0aee1c1801beb152e2339c15b Mon Sep 17 00:00:00 2001 From: Dan Onoshko Date: Tue, 10 Jan 2023 01:52:32 +0400 Subject: [PATCH] feat: restore compatability with webpack 4 (#996) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index ea908a23..f5050203 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,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",