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.
1 parent 213310e commit 08106d5Copy full SHA for 08106d5
fixtures/react-router-vercel/app/constants.mjs
@@ -8,7 +8,7 @@ export const assetBaseUrl = "/assets/";
8
* @type {import("@webstudio-is/image").ImageLoader}
9
*/
10
export const imageLoader = (props) => {
11
- if (process.env.NODE_ENV !== "production") {
+ if (import.meta.env.DEV) {
12
return props.src;
13
}
14
packages/cli/templates/react-router-vercel/app/constants.mjs
0 commit comments