diff --git a/src/rollup/config.ts b/src/rollup/config.ts index 01a65a3685..12a473dae0 100644 --- a/src/rollup/config.ts +++ b/src/rollup/config.ts @@ -196,6 +196,7 @@ export const getRollupConfig = (nitro: Nitro): RollupConfig => { values: { "typeof window": '"undefined"', _import_meta_url_: "import.meta.url", + "globalThis.process.": "process.", "process.env.RUNTIME_CONFIG": () => JSON.stringify(nitro.options.runtimeConfig, null, 2), ...Object.fromEntries(