From ce537f49d6c826361419b5f73dcc1b493f900df7 Mon Sep 17 00:00:00 2001 From: Fawad Ali Date: Sun, 24 Mar 2024 16:23:28 +0100 Subject: [PATCH] Fix phoenix-ui-components package.json --- .../phoenix-ui-components/package.json | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/packages/phoenix-ng/projects/phoenix-ui-components/package.json b/packages/phoenix-ng/projects/phoenix-ui-components/package.json index 000075d0..a690694a 100644 --- a/packages/phoenix-ng/projects/phoenix-ui-components/package.json +++ b/packages/phoenix-ng/projects/phoenix-ui-components/package.json @@ -37,13 +37,21 @@ "tslib": "^2.6.2" }, "devDependencies": { - "node-fetch": "^3.3.2" + "node-fetch": "^3.3.2", + "rimraf": "^5.0.5" }, - "module": "dist/fesm2015/phoenix-ui-components.mjs", - "es2020": "dist/fesm2020/phoenix-ui-components.mjs", - "esm2020": "dist/esm2020/phoenix-ui-components.mjs", - "fesm2020": "dist/fesm2020/phoenix-ui-components.mjs", - "fesm2015": "dist/fesm2015/phoenix-ui-components.mjs", + "module": "dist/fesm2022/phoenix-ui-components.mjs", "typings": "dist/index.d.ts", - "sideEffects": false + "sideEffects": false, + "exports": { + "./package.json": { + "default": "./package.json" + }, + ".": { + "types": "./dist/index.d.ts", + "esm2022": "./dist/esm2022/phoenix-ui-components.mjs", + "esm": "./dist/esm2022/phoenix-ui-components.mjs", + "default": "./dist/fesm2022/phoenix-ui-components.mjs" + } + } }