Skip to content

Commit

Permalink
fix: vitest set NODE_ENV causes the test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed May 20, 2022
1 parent d8d0643 commit e36dec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playground/optimize-deps/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const fs = require('fs')
const vue = require('@vitejs/plugin-vue')

process.env.NODE_ENV = undefined

/**
* @type {import('vite').UserConfig}
*/
Expand Down

0 comments on commit e36dec2

Please sign in to comment.