Skip to content

Commit

Permalink
fix(rollup): replace globalThis.process. with process. (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebilicious authored Jun 30, 2023
1 parent 414f5f5 commit 35e5ba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rollup/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 35e5ba2

Please sign in to comment.