@react-router/dev 0.0.0-experimental-e1f760554 → 0.0.0-experimental-a839ff7e2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import arg from "arg";
2
+ let arg = require("arg");
3
3
 
4
4
  // Minimal replication of our actual parsing in `run.ts`. If not already set,
5
5
  // default `NODE_ENV` so React loads the proper version in it's CJS entry script.
@@ -12,6 +12,4 @@ if (args._[0] === "dev") {
12
12
  process.env.NODE_ENV = process.env.NODE_ENV ?? "production";
13
13
  }
14
14
 
15
- (async () => {
16
- await import("./dist/cli/index.js");
17
- })();
15
+ require("./dist/cli/index");