Skip to content

Commit

Permalink
Define process.env to prevent crashes with NextJS
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Sep 24, 2021
1 parent 7c7cd34 commit 4315dff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer.ts
Expand Up @@ -105,6 +105,9 @@ export async function startRenderer(options: {
overlay: false,
},
},
define: {
"process.env": {},
},
optimizeDeps: {
esbuildOptions: {
plugins: [
Expand Down

0 comments on commit 4315dff

Please sign in to comment.