@astrojs/cloudflare
Advanced tools
Comparing version 0.2.2 to 0.2.3
# @astrojs/cloudflare | ||
## 0.2.3 | ||
### Patch Changes | ||
- [#3854](https://github.com/withastro/astro/pull/3854) [`b012ee55`](https://github.com/withastro/astro/commit/b012ee55b107dea0730286263b27d83e530fad5d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - [astro add] Support adapters and third party packages | ||
## 0.2.2 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@astrojs/cloudflare", | ||
"description": "Deploy your site to cloudflare pages functions", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"type": "module", | ||
@@ -14,2 +14,5 @@ "types": "./dist/index.d.ts", | ||
}, | ||
"keywords": [ | ||
"astro-adapter" | ||
], | ||
"bugs": "https://github.com/withastro/astro/issues", | ||
@@ -26,3 +29,3 @@ "homepage": "https://astro.build", | ||
"devDependencies": { | ||
"astro": "1.0.0-beta.61", | ||
"astro": "1.0.0-beta.65", | ||
"astro-scripts": "0.0.6" | ||
@@ -29,0 +32,0 @@ }, |
@@ -28,6 +28,6 @@ # @astrojs/cloudflare | ||
Some integrations such as (react)[https://github.com/withastro/astro/tree/main/packages/integrations/react] rely on web streams. Currently Cloudflare Pages functions are in beta and don't support the `streams_enable_constructors` feature flag. | ||
Some integrations such as [React](https://github.com/withastro/astro/tree/main/packages/integrations/react) rely on web streams. Currently Cloudflare Pages functions are in beta and don't support the `streams_enable_constructors` feature flag. | ||
In order to work around this: | ||
- install the `"web-streams-polyfill"` package | ||
- add `import "web-streams-polyfill/es2018";` to the top of the front matter of every page which requires streams, such as server rendering a React component. | ||
- add `import "web-streams-polyfill/es2018";` to the top of the front matter of every page which requires streams, such as server rendering a React component. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13780
33