Skip to content

Commit

Permalink
[@astrojs/image] web-streams-polyfill should be included as a prod de…
Browse files Browse the repository at this point in the history
…pendency (#5260)

* fix: web-streams-polyfill should be included as a prod dependency

* chore: missed a lockfile change in the merge
  • Loading branch information
Tony Sullivan authored Oct 31, 2022
1 parent 1b79ac7 commit 37d664e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-keys-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/image': patch
---

Fixes a bug where the `web-streams-polyfill` dependency would not be installed with the `--production` flag
6 changes: 3 additions & 3 deletions packages/integrations/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"kleur": "^4.1.5",
"magic-string": "^0.25.9",
"mime": "^3.0.0",
"slash": "^4.0.0"
"slash": "^4.0.0",
"web-streams-polyfill": "^3.2.1"
},
"devDependencies": {
"@types/http-cache-semantics": "^4.0.1",
Expand All @@ -61,8 +62,7 @@
"mocha": "^9.2.2",
"rollup-plugin-copy": "^3.4.0",
"sharp": "^0.31.0",
"vite": "^3.0.0",
"web-streams-polyfill": "^3.2.1"
"vite": "^3.0.0"
},
"peerDependencies": {
"sharp": ">=0.31.0"
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37d664e

Please sign in to comment.