Files
ry.kazcloud.dev/node_modules/astro/dist/core/polyfill.js
Ryan Kazokas d181f77fb2
All checks were successful
Build and Push / build (push) Successful in 55s
Updates dockerfile
2026-02-16 15:09:37 -05:00

18 lines
340 B
JavaScript

import buffer from "node:buffer";
import crypto from "node:crypto";
function apply() {
if (!globalThis.crypto) {
Object.defineProperty(globalThis, "crypto", {
value: crypto.webcrypto
});
}
if (!globalThis.File) {
Object.defineProperty(globalThis, "File", {
value: buffer.File
});
}
}
export {
apply
};