azion
Version:
Azion Packages for Edge Computing.
2 lines (1 loc) • 1.2 kB
JavaScript
import e from"path";import{fileURLToPath as o}from"url";var l=o(import.meta.url),t=e.dirname(l),a=()=>e.resolve(t,"../../","unenv-preset","src"),s=`${a()}/polyfills`,r={inject:{__dirname:`${s}/node/globals/path-dirname.js`,__filename:`${s}/node/globals/path-filename.js`,process:`${s}/node/globals/process.cjs`,performance:"unenv/polyfill/performance",setInterval:`${s}/node/globals/set-interval.js`,clearInterval:`${s}/node/globals/clear-interval.js`},alias:{"azion/utils":"azion/utils","azion/utils/edge":"azion/utils/edge","azion/utils/node":"azion/utils/node","@fastly/http-compute-js":"@fastly/http-compute-js",accepts:"accepts",assert:"assert-browserify",https:`${s}/node/https.js`,module:`${s}/node/module.js`,string_decoder:"string_decoder/lib/string_decoder.js",timers:"timers-browserify/",util:`${s}/node/util.js`},external:["node:async_hooks","node:fs/promises","node:stream","node:crypto"],polyfill:["aziondev:async_hooks:/async-hooks/async-hooks.polyfills.js","aziondev:fs:/fs/fs.polyfills.js","aziondev:fs/promises:/fs/promises/promises.polyfills.js","aziondev:stream:/stream/stream.polyfills.js","aziondev:crypto:/crypto/crypto.polyfills.js","azionprd:fs:/fs.js"]};export{r as default};