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 da26930 commit 7c39314
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playground/optimize-deps/vite.config.js
@@ -1,6 +1,8 @@
const fs = require('fs')
const vue = require('@vitejs/plugin-vue')

process.env.NODE_ENV = ''

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

0 comments on commit 7c39314

Please sign in to comment.