From fae853c020968bfd263deed978fea4c93b1479b9 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Mon, 23 Dec 2024 10:47:04 +0100 Subject: [PATCH] fix(react-router): Use consistent file names for `instrument.server.mjs` (#12208) --- .../getting-started-config/javascript.react-router.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-includes/getting-started-config/javascript.react-router.mdx b/platform-includes/getting-started-config/javascript.react-router.mdx index 58dde95efb390..359cb2b5d7c0d 100644 --- a/platform-includes/getting-started-config/javascript.react-router.mdx +++ b/platform-includes/getting-started-config/javascript.react-router.mdx @@ -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", } ```