UNPKG

seia.js

Version:

Lightweight SSR framework for React Server Components

9 lines (8 loc) 361 B
// NOTE: typescript declare statement is global, so we should avoid re-declaring global `process` here, thus used `as any` // it will now work well with `@types/node`, but of course this is hack. not a great idea. globalThis.process = { env: { // eslint-disable-next-line @typescript-eslint/naming-convention NODE_ENV: 'production' } };