diff --git a/package.json b/package.json index 2b05cca..567451c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ ], "scripts": { "lint": "eslint --fix src", - "prepack": "yarn ttsc -p tsconfig.json && ttsc -p tsconfig.cjs.json", + "prepack": "yarn ttsc -p tsconfig.json && echo '{\n\t\"type\": \"module\"\n}' > dist/esm/package.json && ttsc -p tsconfig.cjs.json", "test": "jest src" }, "dependencies": {