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.
instrument.server.mjs
1 parent 5b02ee0 commit fae853cCopy full SHA for fae853c
platform-includes/getting-started-config/javascript.react-router.mdx
@@ -125,7 +125,7 @@ Update the `start` and `dev` script to include the instrumentation file:
125
126
```json {filename: package.json}
127
"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",
+ "dev": "NODE_OPTIONS='--import ./instrument.server.mjs' react-router dev",
+ "start": "NODE_OPTIONS='--import ./instrument.server.mjs' react-router-serve ./build/server/index.js",
130
}
131
```
0 commit comments