Skip to content

Commit

Permalink
fix: do not export process.env
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Jun 13, 2024
1 parent 248e2d0 commit 7005fb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export default defineConfig({
],
define: {
global: 'window',
'process.env': {
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
}
},
resolve: {
alias: {
Expand Down

0 comments on commit 7005fb6

Please sign in to comment.