summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-08-03 23:11:37 -0700
committerGravatar GitHub <noreply@github.com> 2022-08-03 23:11:37 -0700
commit65f2d3b4b1d31411ee2ea450478349413d8f4cf6 (patch)
tree4ec11eabf2c300f1f497e9df771d2fedcdad6091
parent66319cb49fd3e0b7423ff7e83566da86e8d840c9 (diff)
downloadastro-65f2d3b4b1d31411ee2ea450478349413d8f4cf6.tar.gz
astro-65f2d3b4b1d31411ee2ea450478349413d8f4cf6.tar.zst
astro-65f2d3b4b1d31411ee2ea450478349413d8f4cf6.zip
fix windows package export (#4141)
* fix windows package export * Create neat-badgers-bow.md
-rw-r--r--.changeset/neat-badgers-bow.md6
-rw-r--r--packages/astro/package.json3
-rw-r--r--packages/integrations/image/package.json3
3 files changed, 10 insertions, 2 deletions
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",