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 329fc0a commit ae9a92dCopy full SHA for ae9a92d
contributors.yml
@@ -233,6 +233,7 @@
233
- pavsoldatov
234
- pcattori
235
- petersendidit
236
+- phildl
237
- pierophp
238
- printfn
239
- promet99
packages/react-router-dev/bin.js
@@ -5,7 +5,7 @@ let arg = require("arg");
5
// default `NODE_ENV` so React loads the proper version in it's CJS entry script.
6
// We have to do this before importing `run.ts` since that is what imports
7
// `react` (indirectly via `react-router`)
8
-let args = arg({}, { argv: process.argv.slice(2) });
+let args = arg({}, { argv: process.argv.slice(2), stopAtPositional: true });
9
if (args._[0] === "dev") {
10
process.env.NODE_ENV = process.env.NODE_ENV ?? "development";
11
} else {
0 commit comments