0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

fix(container): apply polyfill (#12042)

This commit is contained in:
Emanuele Stoppa 2024-09-20 18:09:37 +01:00 committed by GitHub
parent dda78222c3
commit 243ecb6d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fixes a problem in the Container API, where a polyfill wasn't correctly applied. This caused an issue in some environments where `crypto` isn't supported.

View file

@ -1,3 +1,4 @@
import './polyfill.js';
import { posix } from 'node:path';
import type {
AstroConfig,

View file

@ -0,0 +1,3 @@
import { applyPolyfills } from '../core/app/node.js';
applyPolyfills();