diff --git a/theatre/core/package.json b/theatre/core/package.json index 0e57031..4f49473 100644 --- a/theatre/core/package.json +++ b/theatre/core/package.json @@ -15,7 +15,6 @@ }, "main": "dist/index.cjs", "module": "dist/index.mjs", - "browser": "dist/index.min.js", "exports": { ".": { "require": "./dist/index.cjs", diff --git a/theatre/studio/package.json b/theatre/studio/package.json index 687310d..39e7804 100644 --- a/theatre/studio/package.json +++ b/theatre/studio/package.json @@ -13,12 +13,27 @@ "email": "hello@theatrejs.com", "url": "https://www.theatrejs.com" }, - "main": "dist/index.js", + "main": "dist/index.cjs", + "module": "dist/index.mjs", + "exports": { + ".": { + "require": "./dist/index.cjs", + "import": "./dist/index.mjs", + "default": "./dist/index.cjs", + "node": "./dist/index.cjs", + "script": "./dist/index.min.js" + } + }, "types": "dist/index.d.ts", "files": [ - "dist/index.js", - "dist/index.d.ts", - "index.js.map" + "dist/index.cjs", + "dist/index.cjs.map", + "dist/index.mjs", + "dist/index.mjs.map", + "dist/index.min.js", + "dist/index.min.js.map", + "dist/index.min.js.LEGAL.txt", + "dist/index.d.ts" ], "scripts": { "prepack": "cd .. && yarn run prepare"