Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TGlide authored and TorstenDittmann committed Nov 23, 2023
1 parent 3b8f77a commit 69e6194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const envFixer: Plugin = {
return { code };
}

// The replacement uses a zero-width space to avoid being detected by vite
const transformed = code.replaceAll(/process\.env/g, 'process​.env');
return {
code: transformed
Expand Down

0 comments on commit 69e6194

Please sign in to comment.