diff --git a/plugins/home-react/package.json b/plugins/home-react/package.json index 8e5767b340..4e2dae3931 100644 --- a/plugins/home-react/package.json +++ b/plugins/home-react/package.json @@ -11,9 +11,7 @@ ] }, "publishConfig": { - "access": "public", - "main": "dist/index.esm.js", - "types": "dist/index.d.ts" + "access": "public" }, "keywords": [ "backstage", @@ -34,6 +32,16 @@ }, "main": "src/index.ts", "types": "src/index.ts", + "typesVersions": { + "*": { + "alpha": [ + "src/alpha.ts" + ], + "package.json": [ + "package.json" + ] + } + }, "files": [ "dist" ],