Skip to content

Commit

Permalink
fix(build): add process to script context (#2898)
Browse files Browse the repository at this point in the history
Add `process` to script context
  • Loading branch information
cromoteca authored Nov 8, 2024
1 parent 27167f2 commit c1245de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/prepare/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async function loadScripts(): Promise<readonly [Writer, Transformer]> {
exports,
module: { exports },
require: req,
process: { env: {} },
};
script.runInNewContext(ctx);

Expand Down

0 comments on commit c1245de

Please sign in to comment.