mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix(cloudflare): esbuild settings for cloudflare (#8788)
--------- Co-authored-by: Jonathan Dunlap <595843+jadbox@users.noreply.github.com>
This commit is contained in:
parent
90d70eb7c4
commit
0ab6bad7df
3 changed files with 8 additions and 0 deletions
5
.changeset/tidy-bags-give.md
Normal file
5
.changeset/tidy-bags-give.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/cloudflare': patch
|
||||
---
|
||||
|
||||
Adds support for `node:crypto`
|
|
@ -339,6 +339,7 @@ Astro's Cloudflare adapter allows you to use any Node.js runtime API supported b
|
|||
- assert
|
||||
- AsyncLocalStorage
|
||||
- Buffer
|
||||
- Crypto
|
||||
- Diagnostics Channel
|
||||
- EventEmitter
|
||||
- path
|
||||
|
|
|
@ -283,6 +283,7 @@ export default function createIntegration(args?: Options): AstroIntegration {
|
|||
'node:assert',
|
||||
'node:async_hooks',
|
||||
'node:buffer',
|
||||
'node:crypto',
|
||||
'node:diagnostics_channel',
|
||||
'node:events',
|
||||
'node:path',
|
||||
|
@ -365,6 +366,7 @@ export default function createIntegration(args?: Options): AstroIntegration {
|
|||
'node:assert',
|
||||
'node:async_hooks',
|
||||
'node:buffer',
|
||||
'node:crypto',
|
||||
'node:diagnostics_channel',
|
||||
'node:events',
|
||||
'node:path',
|
||||
|
|
Loading…
Reference in a new issue