Skip to content

Commit

Permalink
chore: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Nov 12, 2023
1 parent 3ab97d7 commit 12dac10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hungry-tables-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/dev": patch
---

fix: allow custom NODE_ENV on vite dev with remix plugin
2 changes: 1 addition & 1 deletion integration/vite-dev-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ test.describe("Vite dev", () => {
let viteBin = resolveBin.sync("vite");
devProc = spawn(nodeBin, [viteBin, "dev"], {
cwd: projectDir,
env: process.env,
env: { ...process.env, NODE_ENV: "test" },
stdio: "pipe",
});
let devStdout = bufferize(devProc.stdout);
Expand Down

0 comments on commit 12dac10

Please sign in to comment.