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.
--conditions
1 parent 1ad8fca commit ad3232dCopy full SHA for ad3232d
1 file changed
docs/api/other-api/adapter.md
@@ -112,14 +112,16 @@ Update the `dev` and `start` scripts to use your new Express server:
112
{
113
// ...
114
"scripts": {
115
- "dev": "cross-env NODE_ENV=development node server.js",
+ "dev": "cross-env NODE_ENV=development node --conditions development server.js",
116
"start": "node server.js"
117
118
}
119
120
121
```
122
123
+Make sure that `--conditions development` is included in the `dev` script so that the proper version of React Router is used in development.
124
+
125
## `@react-router/cloudflare`
126
127
[Reference Documentation ↗](https://api.reactrouter.com/v7/modules/_react-router_cloudflare.html)
0 commit comments