diff --git a/.changeset/neat-badgers-bow.md b/.changeset/neat-badgers-bow.md new file mode 100644 index 000000000..e74047a30 --- /dev/null +++ b/.changeset/neat-badgers-bow.md @@ -0,0 +1,6 @@ +--- +"astro": patch +"@astrojs/image": patch +--- + +fix windows "bad package export" error diff --git a/packages/astro/package.json b/packages/astro/package.json index 4a68cb613..f02215698 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -50,7 +50,8 @@ "./vite-plugin-jsx/*": "./dist/vite-plugin-jsx/*", "./vite-plugin-jsx": "./dist/vite-plugin-jsx/index.js", "./vite-plugin-markdown": "./dist/vite-plugin-markdown/index.js", - "./vite-plugin-markdown/*": "./dist/vite-plugin-markdown/*" + "./vite-plugin-markdown/*": "./dist/vite-plugin-markdown/*", + "./dist/jsx/*": "./dist/jsx/*" }, "imports": { "#astro/*": "./dist/*.js" diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 8de81ba9d..3404df7c5 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -26,7 +26,8 @@ "./endpoints/prod": "./dist/endpoints/prod.js", "./components": "./components/index.js", "./package.json": "./package.json", - "./client": "./client.d.ts" + "./client": "./client.d.ts", + "./dist/endpoints/*": "./dist/endpoints/*" }, "files": [ "components",