From b7bc2ba4dc3099ae1e33554c53e5675946302de9 Mon Sep 17 00:00:00 2001 From: Nicholas Rice <3213292+nicholasrice@users.noreply.github.com> Date: Tue, 1 Nov 2022 12:35:27 -0700 Subject: [PATCH] fix: ensure fast-ssr dist files get published (#6486) * update main paths so that dist gets included in the bundle * Change files Co-authored-by: nicholasrice --- ...soft-fast-ssr-255509ef-5358-49b7-9e84-04b7451cc7ad.json | 7 +++++++ packages/web-components/fast-ssr/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 change/@microsoft-fast-ssr-255509ef-5358-49b7-9e84-04b7451cc7ad.json diff --git a/change/@microsoft-fast-ssr-255509ef-5358-49b7-9e84-04b7451cc7ad.json b/change/@microsoft-fast-ssr-255509ef-5358-49b7-9e84-04b7451cc7ad.json new file mode 100644 index 00000000000..b43531e308c --- /dev/null +++ b/change/@microsoft-fast-ssr-255509ef-5358-49b7-9e84-04b7451cc7ad.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fixed bug preventing dist files from being included in the published package", + "packageName": "@microsoft/fast-ssr", + "email": "nicholasrice@users.noreply.github.com", + "dependentChangeType": "prerelease" +} diff --git a/packages/web-components/fast-ssr/package.json b/packages/web-components/fast-ssr/package.json index 084385b28de..9a354776a27 100644 --- a/packages/web-components/fast-ssr/package.json +++ b/packages/web-components/fast-ssr/package.json @@ -34,8 +34,8 @@ "install-playwright-browsers": "yarn playwright install" }, "description": "A package for rendering FAST Web Components outside the browser.", - "main": "./dist/esm/exports.js", - "types": "./dist/dts/exports.d.ts", + "main": "dist/esm/exports.js", + "types": "dist/dts/exports.d.ts", "exports": { ".": { "types": "./dist/dts/exports.d.ts",