Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

add better comments

Sara Vieiracce5c3f8b2e4
diff --git a/env-check.js b/env-check.js
index 9274dd1e8d..cc5c117f4a 100644
--- a/env-check.js
+++ b/env-check.js
@@ -3,8 +3,8 @@
* This file is included in `/remix.config.js` which ensures the app isn't built with invalid env vars.
* It has to be a `.js`-file to be imported there.
*/
-/* eslint-disable @typescript-eslint/no-var-requires */
+// Remix does not read .env files when building for production
if (process.env.NODE_ENV !== "production") {
const REQUIRED_ENVS = ["DATABASE_URL", "AUTH_SECRET"];