diff --git a/package.json b/package.json index ae24bdc..016cbe0 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ], "sideEffects": false, "source": "src/index.js", - "main": "dist/index.js", + "main": "dist/index.cjs", "module": "dist/index.module.js", "esmodule": "dist/index.modern.js", "umd:main": "dist/index.umd.js", @@ -31,7 +31,7 @@ ".": { "browser": "./dist/index.module.js", "umd": "./dist/index.umd.js", - "require": "./dist/index.js", + "require": "./dist/index.cjs", "default": "./dist/index.modern.js" } },