Skip to content

Commit

Permalink
long shot
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Feb 3, 2024
1 parent c704eea commit 2821a3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions forge/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,10 @@ process.on("exit", () => {
];

fs.writeFileSync(configPath, JSON.stringify(data, null, 2));

// TODO: This is hack to make `@azure/identity` place nice on Edge. It will without a doubt break the sourcemap.
fs.appendFileSync(
path.join(basePath, "functions", "__nitro.func", "index.mjs"),
"global = {};"
);
});

0 comments on commit 2821a3f

Please sign in to comment.