From cbf44547f7012c4d83ba1d19a6fa556d2b9da911 Mon Sep 17 00:00:00 2001 From: dpiercey Date: Wed, 20 Mar 2024 11:38:29 -0700 Subject: [PATCH] fix: include dist in export maps --- .changeset/neat-brooms-deny.md | 7 +++++++ packages/frameworks/marko-vite/package.json | 2 +- packages/frameworks/marko-webpack/package.json | 2 +- packages/renderers/marko/package.json | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .changeset/neat-brooms-deny.md diff --git a/.changeset/neat-brooms-deny.md b/.changeset/neat-brooms-deny.md new file mode 100644 index 0000000000..297f9e2e1d --- /dev/null +++ b/.changeset/neat-brooms-deny.md @@ -0,0 +1,7 @@ +--- +"@storybook/marko-webpack": patch +"@storybook/marko-vite": patch +"@storybook/marko": patch +--- + +Include all built/dist files in export maps. diff --git a/packages/frameworks/marko-vite/package.json b/packages/frameworks/marko-vite/package.json index 53315a9c9b..c8fe7bbb87 100644 --- a/packages/frameworks/marko-vite/package.json +++ b/packages/frameworks/marko-vite/package.json @@ -17,7 +17,7 @@ "license": "MIT", "exports": { "./package.json": "./package.json", - "./*.d.ts": "./*.d.ts", + "./dist/*": "./dist/*", "./preset": { "types": "./dist/preset.d.ts", "import": "./dist/preset.mjs", diff --git a/packages/frameworks/marko-webpack/package.json b/packages/frameworks/marko-webpack/package.json index c67ababddd..8742d8b668 100644 --- a/packages/frameworks/marko-webpack/package.json +++ b/packages/frameworks/marko-webpack/package.json @@ -17,7 +17,7 @@ "license": "MIT", "exports": { "./package.json": "./package.json", - "./*.d.ts": "./*.d.ts", + "./dist/*": "./dist/*", "./preset": { "types": "./dist/preset.d.ts", "import": "./dist/preset.mjs", diff --git a/packages/renderers/marko/package.json b/packages/renderers/marko/package.json index a0532af3b1..fe1bdd43a2 100644 --- a/packages/renderers/marko/package.json +++ b/packages/renderers/marko/package.json @@ -16,7 +16,7 @@ "license": "MIT", "exports": { "./package.json": "./package.json", - "./*.d.ts": "./*.d.ts", + "./dist/*": "./dist/*", "./preset": { "types": "./dist/preset.d.ts", "import": "./dist/preset.mjs",