Skip to content

Commit fae853c

Browse files
authored
fix(react-router): Use consistent file names for instrument.server.mjs (#12208)
1 parent 5b02ee0 commit fae853c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-includes/getting-started-config/javascript.react-router.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Update the `start` and `dev` script to include the instrumentation file:
125125

126126
```json {filename: package.json}
127127
"scripts": {
128-
"dev": "NODE_OPTIONS='--import ./instrument.mjs' react-router dev",
129-
"start": "NODE_OPTIONS='--import ./instrument.mjs' react-router-serve ./build/server/index.js",
128+
"dev": "NODE_OPTIONS='--import ./instrument.server.mjs' react-router dev",
129+
"start": "NODE_OPTIONS='--import ./instrument.server.mjs' react-router-serve ./build/server/index.js",
130130
}
131131
```

0 commit comments

Comments
 (0)