We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b9dfe commit cabb2c3Copy full SHA for cabb2c3
config/index.md
@@ -103,7 +103,7 @@ Vite はデフォルトでは `.env` ファイルをロードしないことに
103
```js twoslash
104
import { defineConfig, loadEnv } from 'vite'
105
106
-export default defineConfig(({ command, mode }) => {
+export default defineConfig(({ mode }) => {
107
// `mode` に基づいて現在の作業ディレクトリーにある env ファイルをロードする。
108
// `VITE_` プレフィックスに関係なく全ての環境変数をロードするには、
109
// 第 3 引数に '' を設定します
0 commit comments