[@astrojs/image] web-streams-polyfill should be included as a prod dependency (#5260)

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

* chore: missed a lockfile change in the merge
This commit is contained in:
Tony Sullivan 2022-10-31 19:43:38 +00:00 committed by GitHub
parent 1b79ac7018
commit 37d664e262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/image': patch
---
Fixes a bug where the `web-streams-polyfill` dependency would not be installed with the `--production` flag

View file

@ -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",
@ -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"

View file

@ -2586,6 +2586,7 @@ importers:
magic-string: 0.25.9
mime: 3.0.0
slash: 4.0.0
web-streams-polyfill: 3.2.1
devDependencies:
'@types/http-cache-semantics': 4.0.1
'@types/mime': 2.0.3
@ -2598,7 +2599,6 @@ importers:
rollup-plugin-copy: 3.4.0
sharp: 0.31.1
vite: 3.2.2
web-streams-polyfill: 3.2.1
packages/integrations/image/test/fixtures/background-color-image:
specifiers: