Skip to content

Commit

Permalink
fix(react-router): Use consistent file names for `instrument.server.m…
Browse files Browse the repository at this point in the history
…js` (#12208)
  • Loading branch information
Lms24 authored Dec 23, 2024
1 parent 5b02ee0 commit fae853c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Update the `start` and `dev` script to include the instrumentation file:

```json {filename: package.json}
"scripts": {
"dev": "NODE_OPTIONS='--import ./instrument.mjs' react-router dev",
"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",
}
```

0 comments on commit fae853c

Please sign in to comment.