silverwolf-x/project / packages /next /src /build /adapter /setup-node-env.external.ts
silverwolf-x's picture
download
raw
587 Bytes
// This is a minimal import that initializes the node
// environment, it is traced automatically for entries
// and can be used to ensure Node.js APIs are setup
// as expected without require `next-server`
if (process.env.NEXT_RUNTIME !== 'edge') {
// eslint-disable-next-line @next/internal/typechecked-require
require('next/dist/server/node-environment')
// eslint-disable-next-line @next/internal/typechecked-require
require('next/dist/server/require-hook')
// eslint-disable-next-line @next/internal/typechecked-require
require('next/dist/server/node-polyfill-crypto')
}

Xet Storage Details

Size:
587 Bytes
·
Xet hash:
d99fc9b7c01ac198d23ba92605d5b1f6f872f4aeb4e3429af34b8643249abbc1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.