From f2c00dce020875d8567bb8bc43aca08e592ee53e Mon Sep 17 00:00:00 2001 From: dangreen Date: Tue, 10 Jan 2023 01:47:21 +0400 Subject: [PATCH] feat: restore compatability with webpack 4 --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f5499c278..4f60d421a 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",